Skip to content

Commit 96ed05c

Browse files
committed
fix lint
1 parent 50bca22 commit 96ed05c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adafruit_led_animation/animation/comet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Comet(Animation):
6262
:param bool bounce: Comet will bounce back and forth. Defaults to ``True``.
6363
"""
6464

65-
# pylint: disable=too-many-arguments
65+
# pylint: disable=too-many-arguments,too-many-instance-attributes
6666
def __init__(
6767
self,
6868
pixel_object,

adafruit_led_animation/color.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def calculate_intensity(color, intensity=1.0):
8888
int(color[1] * intensity),
8989
int(color[2] * intensity),
9090
)
91-
elif len(color) == 4 and isinstance(color[3], float):
91+
if len(color) == 4 and isinstance(color[3], float):
9292
return (
9393
int(color[0] * intensity),
9494
int(color[1] * intensity),

0 commit comments

Comments
 (0)