Skip to content

Commit 89c0c93

Browse files
committed
Merge branch 'color-output-option' of https://github.com/studyingegret/mypy into color-output-option
2 parents 1bce878 + 3e101fe commit 89c0c93

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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)