Skip to content

Commit 14d69d3

Browse files
author
Kevin J Walters
committed
Correcting pylint inhibition (missing colon!) on a simplifiable-if-statement which is not quite what pylint thinks it is. #3
1 parent 6676f9f commit 14d69d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adafruit_midi/midi_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def _search_eom_status(cls, buf, eom_status, msgstartidx, msgendidxplusone, endi
147147
# Look for a status byte
148148
# Second rule of the MIDI club is status bytes have MSB set
149149
if buf[msgendidxplusone] & 0x80:
150-
# pylint disable=simplifiable-if-statement
150+
# pylint: disable=simplifiable-if-statement
151151
if buf[msgendidxplusone] == eom_status:
152152
good_termination = True
153153
else:

0 commit comments

Comments
 (0)