Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed May 2, 2024
1 parent 6f2729c commit ae3ce22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coloraide/interpolate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ def carryforward_convert(color: Color, space: str, hue_index: int, powerless: bo
if math.isnan(color[i]):
channels[name] = True
elif cs1.is_polar():
if math.isnan(color[cs1.hue_index()]):
if math.isnan(color[cs1.hue_index()]): # type: ignore[attr-defined]
channels['H'] = True

# Carry alpha forward if undefined
Expand Down

0 comments on commit ae3ce22

Please sign in to comment.