-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix E301 not triggering on decorated methods. #10117
Fix E301 not triggering on decorated methods. #10117
Conversation
|
code | total | + violation | - violation | + fix | - fix |
---|---|---|---|---|---|
E301 | 73 | 2 | 71 | 0 | 0 |
PLR0917 | 18 | 9 | 9 | 0 | 0 |
PLR0904 | 4 | 2 | 2 | 0 | 0 |
PLW1641 | 2 | 1 | 1 | 0 | 0 |
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.
That was quick! Thank you
@MichaReiser Since it was a really small fix, should I rebase it on main so that the fix can be merged quicker ? |
@hoel-bagard yeah that might be worth it. I thought the other PR's are quick wins but that's not the case :( |
@MichaReiser Ok, I'll do that. Is there a way I can help with the other PR ? |
That's very kind of you! The main struggle is finding a good way to make |
32b031f
to
8854ded
Compare
8854ded
to
b108cee
Compare
Co-authored-by: Micha Reiser <micha@reiser.io>
Stacked on top of #10098.
Summary
This PR fixes #10114.
Test Plan
The example given in the issue has been added to the fixtures, and the results compared with pycodestyle.