Skip to content

Commit d361d81

Browse files
committed
Added some pylint ignores
1 parent 704feb4 commit d361d81

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

tests/test_MIDIMessage_unittests.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
# pylint: disable=invalid-name
12
# SPDX-FileCopyrightText: 2019 Kevin J. Walters for Adafruit Industries
23
#
34
# SPDX-License-Identifier: MIT
5+
# pylint: enable=invalid-name
46

57
import unittest
68

@@ -29,7 +31,9 @@
2931
# pylint: enable=wrong-import-position
3032

3133

32-
class Test_MIDIMessage_from_message_byte_tests(unittest.TestCase):
34+
class Test_MIDIMessage_from_message_byte_tests(
35+
unittest.TestCase
36+
): # pylint: disable=invalid-name
3337
def test_NoteOn_basic(self):
3438
data = bytes([0x90, 0x30, 0x7F])
3539
ichannel = 0
@@ -316,7 +320,9 @@ def test_Empty(self):
316320
self.assertEqual(skipped, 0)
317321

318322

319-
class Test_MIDIMessage_NoteOn_constructor(unittest.TestCase):
323+
class Test_MIDIMessage_NoteOn_constructor(
324+
unittest.TestCase
325+
): # pylint: disable=invalid-name
320326
def test_NoteOn_constructor_string(self):
321327
object1 = NoteOn("C4", 0x64)
322328
self.assertEqual(object1.note, 60)
@@ -356,7 +362,9 @@ def test_NoteOn_constructor_bogusstring(self):
356362
NoteOn("CC4", 0x7F)
357363

358364

359-
class Test_MIDIMessage_NoteOff_constructor(unittest.TestCase):
365+
class Test_MIDIMessage_NoteOff_constructor(
366+
unittest.TestCase
367+
): # pylint: disable=invalid-name
360368
# mostly cut and paste from NoteOn above
361369
def test_NoteOff_constructor_string(self):
362370
object1 = NoteOff("C4", 0x64)

0 commit comments

Comments
 (0)