Skip to content

Commit d4f1b04

Browse files
reformatting fixes
1 parent 8c5b6b6 commit d4f1b04

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

adafruit_midi/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def in_channel(self, channel: Optional[Union[str, int, Tuple[int, ...]]]) -> Non
104104
@property
105105
def out_channel(self) -> int:
106106
"""The outgoing MIDI channel. Must be 0-15. Correlates to MIDI channels 1-16, e.g.
107-
``out_channel = 3`` will send to MIDI channel 4. Default is 0 (MIDI channel 1)."""
107+
``out_channel = 3`` will send to MIDI channel 4. Default is 0 (MIDI channel 1).
108+
"""
108109
return self._out_channel
109110

110111
@out_channel.setter

adafruit_midi/midi_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def __bytes__(self) -> bytes:
307307
# Returns the new object.
308308
# pylint: disable=unused-argument
309309
@classmethod
310-
def from_bytes(cls, msg_bytes: bytes) -> 'MIDIMessage':
310+
def from_bytes(cls, msg_bytes: bytes) -> "MIDIMessage":
311311
"""Creates an object from the byte stream of the wire protocol
312312
representation of the MIDI message."""
313313
return cls()

0 commit comments

Comments
 (0)