Pylint & corrections

This commit is contained in:
arofarn
2020-04-21 20:58:14 +02:00
parent e7212ebc1f
commit 84dfa554b0
3 changed files with 11 additions and 15 deletions

View File

@ -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)