Skip to content

Commit 17cf846

Browse files
Enable --pretty by default
1 parent 4980ae5 commit 17cf846

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mypy/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def __init__(self) -> None:
357357
self.hide_error_codes = False
358358
self.show_error_code_links = False
359359
# Use soft word wrap and show trimmed source snippets with error location markers.
360-
self.pretty = False
360+
self.pretty = True
361361
self.dump_graph = False
362362
self.dump_deps = False
363363
self.logical_deps = False

mypy/test/testcheck.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def run_case_once(
128128
options = parse_options(original_program_text, testcase, incremental_step)
129129
options.use_builtins_fixtures = True
130130
options.show_traceback = True
131+
options.pretty = True
131132

132133
# Enable some options automatically based on test file name.
133134
if "columns" in testcase.file:

0 commit comments

Comments
 (0)