Repository navigation
Commit 8b0041d
committed
Enable --pretty by default for better error messages
Changed the default value of --pretty from False to True to provide
visually nicer output by default. Users can still disable it with
--no-pretty if they prefer more concise error messages.
Updated defaults in:
- mypy/options.py: Changed self.pretty = False to True
- mypy/main.py: Changed default=False to default=True for --pretty flag
- docs/source/command_line.rst: Added note about default and --no-pretty
Fixes python#191081 parent 3143ad5 commit 8b0041d
3 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
| 940 | + | |
940 | 941 | | |
941 | 942 | | |
942 | 943 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1007 | 1007 | | |
1008 | 1008 | | |
1009 | 1009 | | |
1010 | | - | |
| 1010 | + | |
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| |||
0 commit comments