Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3k
Enable --pretty by default#19380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Enable --pretty by default#19380
Uh oh!
There was an error while loading.Please reload this page.
Conversation
According tomypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
@victorletichevsky there seem to be a large number of test failures here. |
wyattscarpenter commentedJul 16, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Perhaps you should set this PR to be a Draft PR until those test failures are dealt with, btw. |
This pull request implements the changes proposed in#19108 by enabling the
--pretty
flag by default.This flag improves the readability of error messages by including code snippets and visual markers, such as carets pointing to the exact location of the error. Making this the default helps improve the experience for both new and experienced users.
Changes included
--pretty = True
as the default behavior in CLI options.Let me know if any further adjustments are needed.