Skip to content

Commit de0d1c2

Browse files
authored
Update code.py
1 parent 9c16edb commit de0d1c2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • CircuitPython_Simple_Wordclock

CircuitPython_Simple_Wordclock/code.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
TWENTY = 1<<19
4646

4747
# Pass in hour and minute, return LED bitmask
48+
# pylint: disable=too-many-branches
49+
# pylint: disable=too-many-statements
4850
def writetime(the_hr, the_min):
4951
value = 0 # Start with zero, which is no words
5052
if (the_hr == 24) and (the_min == 0): # Special cases: Midnight and Noon
@@ -111,6 +113,8 @@ def writetime(the_hr, the_min):
111113
value = value | NOON
112114
return value
113115
# end def
116+
# pylint: enable=too-many-branches
117+
# pylint: enable=too-many-statements
114118

115119
# Main loop
116120
LEDstate = 0

0 commit comments

Comments
 (0)