Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
victorletichevsky wants to merge1 commit intopython:master
base:master
Choose a base branch
Loading
fromvictorletichevsky:feature-enable-pretty-by-default

Conversation

victorletichevsky
Copy link

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

  • Sets--pretty = True as the default behavior in CLI options.
  • Updates the test infrastructure to preserve expected outputs.

Let me know if any further adjustments are needed.

@github-actionsGitHub Actions
Copy link
Contributor

According tomypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@wyattscarpenter
Copy link
Contributor

@victorletichevsky there seem to be a large number of test failures here.

@wyattscarpenter
Copy link
Contributor

wyattscarpenter commentedJul 16, 2025
edited
Loading

Perhaps you should set this PR to be a Draft PR until those test failures are dealt with, btw.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@victorletichevsky@wyattscarpenter

[8]ページ先頭

©2009-2025 Movatter.jp