-
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
Support remaining pycodestyle rules #1073
Comments
I'm going to try to work on this one rule at a time. Just for clarity E201 is "whitespace after '('" according to pycodestyle docs here. |
Awesome! Docs mention E201 3 times with (, [ and {. So I assume it's just whitespace after any of them. |
@charliermarsh First time contributing and I've never worked with ASTs before. I think I have some code in place but would welcome support on this. I could open a PR to show what I have currently, if that is acceptable. Basically stuck on the AST logic implementation and believe I have the rest in place. |
@nanthony007 - Happy to help! Do you want to put up a draft PR with questions we can discuss in the context of the code? Or what would be most effective? |
I can put up a PR and we can go through it there I think. I was thinking that since the E3 series seems to be whitespace oriented it might be worth implementing them as a part of this issue as well. |
Run into this as well when testing Don't get me wrong, I do think |
@vytas7 - Appreciate it! We prioritized the rules based on the assumption that Ruff would be used alongside Black -- so we just haven't focused on implementing rules like |
I was also looking for it, those messages are useful when teaching. I will need to use ruff + flake8 for a while |
Closing in favor of #2402, which is the same issue but includes the rule tabulation up top. |
Would be great to have these:
The text was updated successfully, but these errors were encountered: