Skip to content

Commit

Permalink
Run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed May 11, 2023
1 parent e270db9 commit 100b723
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion adafruit_midi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def in_channel(self, channel):
@property
def out_channel(self):
"""The outgoing MIDI channel. Must be 0-15. Correlates to MIDI channels 1-16, e.g.
``out_channel = 3`` will send to MIDI channel 4. Default is 0 (MIDI channel 1)."""
``out_channel = 3`` will send to MIDI channel 4. Default is 0 (MIDI channel 1).
"""
return self._out_channel

@out_channel.setter
Expand Down
1 change: 1 addition & 0 deletions tests/test_MIDIMessage_unittests.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

# pylint: enable=wrong-import-position


# pylint: disable=invalid-name
class Test_MIDIMessage_from_message_byte_tests(unittest.TestCase):
def test_NoteOn_basic(self): # pylint: disable=invalid-name
Expand Down
1 change: 0 additions & 1 deletion tests/test_note_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def test_good_text(self):
self.assertEqual(note_parser("A4"), 69)

def test_bad_text(self):

for text_note in ["H", "H4", "asdfasdfasdf", "000", "999"]:
with self.assertRaises(ValueError):
note_parser(text_note)
Expand Down

0 comments on commit 100b723

Please sign in to comment.