Skip to content

Commit f062157

Browse files
authored
Fix pylint complaints
1 parent 703b302 commit f062157

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Crickit_Sparky_Automaton/code.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
import time
33
import random
44
import audioio
5-
from digitalio import DigitalInOut, Pull, Direction
5+
from digitalio import DigitalInOut, Direction
66
from adafruit_seesaw.seesaw import Seesaw
77
from adafruit_seesaw.pwmout import PWMOut
88
from adafruit_motor import servo
99
from busio import I2C
1010
import board
1111

12-
wavefiles = [file for file in os.listdir("/") if (file.endswith(".wav") and not file.startswith("._"))]
12+
wavefiles = [file for file in os.listdir("/")
13+
if (file.endswith(".wav") and not file.startswith("._"))]
1314
print("Audio files found: ", wavefiles)
1415

1516
# Create seesaw object
@@ -47,5 +48,4 @@ def play_file(wavfile):
4748

4849
while True:
4950
play_file(random.choice(wavefiles))
50-
51-
time.sleep(3)
51+
time.sleep(3)

0 commit comments

Comments
 (0)