We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50bca22 commit 96ed05cCopy full SHA for 96ed05c
adafruit_led_animation/animation/comet.py
@@ -62,7 +62,7 @@ class Comet(Animation):
62
:param bool bounce: Comet will bounce back and forth. Defaults to ``True``.
63
"""
64
65
- # pylint: disable=too-many-arguments
+ # pylint: disable=too-many-arguments,too-many-instance-attributes
66
def __init__(
67
self,
68
pixel_object,
adafruit_led_animation/color.py
@@ -88,7 +88,7 @@ def calculate_intensity(color, intensity=1.0):
88
int(color[1] * intensity),
89
int(color[2] * intensity),
90
)
91
- elif len(color) == 4 and isinstance(color[3], float):
+ if len(color) == 4 and isinstance(color[3], float):
92
return (
93
int(color[0] * intensity),
94
0 commit comments