Skip to content

Commit 6f978d2

Browse files
committed
Linting fixes
1 parent 4f38ee4 commit 6f978d2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/motors/motor_song.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import time
2-
from inventorhatmini import InventorHATMini, MOTOR_A, MOTOR_B, SERVO_2, SERVO_3
2+
from inventorhatmini import InventorHATMini, MOTOR_A, MOTOR_B
33
from ioexpander.motor import SLOW_DECAY # , FAST_DECAY
44

55
"""
@@ -153,7 +153,7 @@ def sleep_until(end_time):
153153
for i in range(len(SONG)):
154154
# Record the start time of this loop
155155
start_time = time.monotonic()
156-
156+
157157
if check_button_toggle():
158158
if SONG[i] == "P":
159159
# This is a "pause" note, so stop the motors

examples/read_gpio_encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# Create a new InventorHATMini
1414
board = InventorHATMini(init_leds=False)
1515

16-
# Create an Encoder object using two GPIO pins
16+
# Create an Encoder object using two GPIO pins
1717
enc = board.encoder_from_gpios(CHANNEL, GPIO_1, GPIO_2)
1818

1919
# Uncomment the below line (and the top imports) to

0 commit comments

Comments
 (0)