Skip to content

Commit bb5213a

Browse files
authored
Fix broken lints
1 parent 87e3364 commit bb5213a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/converters/hexadec.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ def hex_to_dec_primaries(
1111
) -> Union[list[int], list[float]]:
1212
"""
1313
Splits hex color code into three decimal values of the primary colors.
14+
15+
Args:
16+
color (str): Color code string (hex), can include '#' prefix
17+
arithmetic (bool, optional): If True returns float values between 0 and 1.
18+
Defaults to False.
1419
1520
Returns:
1621
Union[list[int], list[float]]: List of three integers (0-255) or floats (0-1)

0 commit comments

Comments
 (0)