Skip to content

Commit 6432e7d

Browse files
committed
Pylint tweaks
1 parent 03859ea commit 6432e7d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • PyPortal_Halloween_Countdown

PyPortal_Halloween_Countdown/code.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
then draw out a countdown clock until an event occurs!
44
Once the event is happening, a new graphic is shown
55
"""
6+
7+
#pylint:disable=invalid-name
68
import time
79
import random
810
import board
@@ -90,8 +92,8 @@
9092

9193
timestamp = time.localtime()
9294
now = time.struct_time((timestamp[0], timestamp[1], timestamp[2],
93-
0, 0, 0, # we don't track seconds
94-
-1, -1, False)) # we dont know day of week/year or DST
95+
0, 0, 0, # we don't track seconds
96+
-1, -1, False)) # we dont know day of week/year or DST
9597

9698
print("Current time:", now)
9799
remaining = time.mktime(event_time) - time.mktime(now)

0 commit comments

Comments
 (0)