This commit is contained in:
Roy Hooper 2020-05-31 20:29:45 -04:00
parent 50bca2261c
commit 96ed05c14b
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ class Comet(Animation):
:param bool bounce: Comet will bounce back and forth. Defaults to ``True``.
"""
# pylint: disable=too-many-arguments
# pylint: disable=too-many-arguments,too-many-instance-attributes
def __init__(
self,
pixel_object,

View file

@ -88,7 +88,7 @@ def calculate_intensity(color, intensity=1.0):
int(color[1] * intensity),
int(color[2] * intensity),
)
elif len(color) == 4 and isinstance(color[3], float):
if len(color) == 4 and isinstance(color[3], float):
return (
int(color[0] * intensity),
int(color[1] * intensity),