Skip to content

Commit e70a428

Browse files
committed
"Reformatted per new black version"
1 parent cbda7a7 commit e70a428

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

colorsys.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343

4444
def hls_to_rgb(hue: float, light: float, sat: float) -> Tuple[float, float, float]:
45-
""" Converts HLS to RGB values """
45+
"""Converts HLS to RGB values"""
4646
if sat == 0.0:
4747
return light, light, light
4848
if light <= 0.5:
@@ -77,7 +77,7 @@ def _v(chroma1: float, chroma2: float, hue: float) -> float:
7777
def hsv_to_rgb( # pylint: disable=too-many-return-statements,inconsistent-return-statements
7878
hue: float, sat: float, val: float
7979
) -> Tuple[float, float, float]:
80-
""" Converts HSV to RGB values """
80+
"""Converts HSV to RGB values"""
8181
if sat == 0.0:
8282
return val, val, val
8383
i = int(hue * 6.0) # assume int() truncates!

0 commit comments

Comments
 (0)