Skip to content

Commit e3dfd0e

Browse files
author
Kevin J Walters
committed
midi_memorycheck.py workaround for Travis pylint issue with false no-member reporting for gc.mem_free(). #3
1 parent 45a55c4 commit e3dfd0e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/midi_memorycheck.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Check memory usage
22

3-
# pylint: disable=multiple-statements,unused-import,wrong-import-position
3+
# pylint: disable=multiple-statements,unused-import,wrong-import-position,no-member
4+
5+
# The disable for no-member should not really be required
6+
# probably a difference between Python 3 module and micropython
7+
#
8+
# E: 8,21: Module 'gc' has no 'mem_free' member (no-member)
49

510
import time
611
import random

0 commit comments

Comments
 (0)