From e6f32fdd9b373dfcd100c7accb41f57d83c2f0a1 Mon Sep 17 00:00:00 2001 From: Scott Date: Wed, 26 Jan 2022 21:35:20 -0800 Subject: Ahem. Still running black? --- ansi.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'ansi.py') diff --git a/ansi.py b/ansi.py index 5fde4af..9e31b81 100755 --- a/ansi.py +++ b/ansi.py @@ -1773,9 +1773,7 @@ def fg( green = 0 if blue is None: blue = 0 - if ( - is_16color(red) and is_16color(green) and is_16color(blue) - ) or force_16color: + if (is_16color(red) and is_16color(green) and is_16color(blue)) or force_16color: logger.debug("Using 16-color strategy") return fg_16color(red, green, blue) if ( @@ -1878,9 +1876,7 @@ def bg( green = 0 if blue is None: blue = 0 - if ( - is_16color(red) and is_16color(green) and is_16color(blue) - ) or force_16color: + if (is_16color(red) and is_16color(green) and is_16color(blue)) or force_16color: logger.debug("Using 16-color strategy") return bg_16color(red, green, blue) if ( -- cgit v1.3