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

consolidate literal bool argument error messages#14693

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

Conversation

@wesleywright
Copy link
Collaborator

Follow up on some of the recurring feedback from#14580 and#14657. There are many error messages similar toX must be True or False. in MyPy. This commit updates them all to:

  • remove the dangling period for consistency with other error messages
  • clarify that we need aTrue orFalse literal
  • use theliteral-required error code for consistency with other literal errors

This should have no impact outside of error message formatting.

@wesleywrightwesleywright marked this pull request as ready for reviewFebruary 13, 2023 19:40
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

According tomypy_primer, this change has no effect on the checked open source code. 🤖🎉

Copy link
Collaborator

@JukkaLJukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for making these more consistent!

@JukkaLJukkaL merged commit0b4ccae intopython:masterFeb 14, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@JukkaLJukkaLJukkaL approved these changes

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

@wesleywright@JukkaL

[8]ページ先頭

©2009-2025 Movatter.jp