pylint disable moved
This commit is contained in:
parent
c3c7643e1e
commit
de7c17dc23
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import time
|
||||
from adafruit_circuitplayground.express import cpx
|
||||
# pylint: disable=stop-iteration-return
|
||||
|
||||
|
||||
def wheel(pos):
|
||||
|
|
@ -25,7 +26,6 @@ def cycle_sequence(seq):
|
|||
def rainbow_lamp(seq):
|
||||
g = cycle_sequence(seq)
|
||||
while True:
|
||||
# pylint: disable=stop-iteration-return
|
||||
cpx.pixels.fill(wheel(next(g)))
|
||||
yield
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue