Skip to content

Commit 67b246c

Browse files
committed
linting
1 parent a2033cf commit 67b246c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CircuitPython_Sip_and_Puff/simple_hid.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
detector = puff_detector.PuffDetector()
88

99
@detector.on_sip
10-
def on_sip(strength, duration):
10+
def on_sip(strength, duration):#pylint:disable=unused-argument
1111
if strength == puff_detector.STRONG:
1212
kbd.send(Keycode.LEFT_ARROW)
1313
kbd.send(Keycode.LEFT_ARROW)
1414
if strength == puff_detector.SOFT:
1515
kbd.send(Keycode.LEFT_ARROW)
1616

1717
@detector.on_puff
18-
def on_puff(strength, duration):
18+
def on_puff(strength, duration):#pylint:disable=unused-argument
1919
if strength == puff_detector.STRONG:
2020
kbd.send(Keycode.RIGHT_ARROW)
2121
kbd.send(Keycode.RIGHT_ARROW)
2222
if strength == puff_detector.SOFT:
2323
kbd.send(Keycode.RIGHT_ARROW)
2424

25-
detector.run()
25+
detector.run()

0 commit comments

Comments
 (0)