Skip to content

Commit 3e101fe

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0fd4b98 commit 3e101fe

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

mypy/dmypy_server.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -855,9 +855,7 @@ def pretty_messages(
855855
True
856856
if util.should_force_color()
857857
else (
858-
is_tty
859-
if self.options.color_output == "auto"
860-
else bool(self.options.color_output)
858+
is_tty if self.options.color_output == "auto" else bool(self.options.color_output)
861859
)
862860
)
863861
fit_width = self.options.pretty and is_tty

0 commit comments

Comments
 (0)