diff --git a/mypy/options.py b/mypy/options.py index 4a89ef529c07..35390183199c 100644 --- a/mypy/options.py +++ b/mypy/options.py @@ -357,7 +357,7 @@ def __init__(self) -> None: self.hide_error_codes = False self.show_error_code_links = False # Use soft word wrap and show trimmed source snippets with error location markers. - self.pretty = False + self.pretty = True self.dump_graph = False self.dump_deps = False self.logical_deps = False diff --git a/mypy/test/testcheck.py b/mypy/test/testcheck.py index fb2eb3a75b9b..c62528963164 100644 --- a/mypy/test/testcheck.py +++ b/mypy/test/testcheck.py @@ -128,6 +128,7 @@ def run_case_once( options = parse_options(original_program_text, testcase, incremental_step) options.use_builtins_fixtures = True options.show_traceback = True + options.pretty = True # Enable some options automatically based on test file name. if "columns" in testcase.file: