Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add special-casing for __match_args__ fields #192

Merged
merged 2 commits into from
Mar 26, 2022

Conversation

AlexWaygood
Copy link
Collaborator

@@ -22,3 +34,11 @@ class Foo:
field6 = 0 # Y015 Bad default value. Use "field6 = ..." instead of "field6 = 0"
field7 = b"" # Y015 Bad default value. Use "field7 = ..." instead of "field7 = b''"
field8 = False # Y015 Bad default value. Use "field8 = ..." instead of "field8 = False"
# Tests for Final
Copy link
Collaborator

Choose a reason for hiding this comment

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

oh no, I added tests here too

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Beat you to it ;)

@AlexWaygood AlexWaygood merged commit 1f87490 into PyCQA:master Mar 26, 2022
@AlexWaygood AlexWaygood deleted the final branch March 26, 2022 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants