-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[flake8-bugbear
] Avoid adding default initializers to stubs (B006
)
#10152
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
flake8-bugbear
] Avoid adding default initializers to stubs (B006
)
fb3e20e
to
8d6705f
Compare
…`) (astral-sh#10152) ## Summary Adapts the fix for rule B006 to no longer modify the body of function stubs, while retaining the change in method signature. ## Test Plan The existing tests for B006 were adapted to reflect this change in behavior. ## Relevant issue astral-sh#10083
Summary
Adapts the fix for rule B006 to no longer modify the body of function stubs, while retaining the change in method signature.
Test Plan
The existing tests for B006 were adapted to reflect this change in behavior.
Relevant issue
#10083