Pylint & corrections
This commit is contained in:
@ -55,7 +55,8 @@ def fill_white(np_strp, col=(255, 255, 255)):
|
||||
:param np_strp : NeoPixel object
|
||||
:param col : color [R, G, B] (ignored, default=(255, 255, 255))
|
||||
"""
|
||||
np_strp.fill((255, 255, 255))
|
||||
col = (255, 255, 255)
|
||||
np_strp.fill(col)
|
||||
|
||||
|
||||
def sparkles(np_strp, col):
|
||||
@ -67,11 +68,10 @@ def sparkles(np_strp, col):
|
||||
np_strp[pix] = col
|
||||
|
||||
|
||||
def christmas(np_strp, col):
|
||||
"""Shine like christmas tree °<:oD
|
||||
TODO !!!
|
||||
"""
|
||||
pass
|
||||
# def christmas(np_strp, col):
|
||||
# """Shine like christmas tree °<:oD
|
||||
# TODO !!!
|
||||
# """
|
||||
|
||||
|
||||
MODES_LST = (fill_usr, fill_white, sparkles)
|
||||
|
Reference in New Issue
Block a user