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

PIE790 introduces E303 #1982

Closed
spaceone opened this issue Jan 18, 2023 · 2 comments
Closed

PIE790 introduces E303 #1982

spaceone opened this issue Jan 18, 2023 · 2 comments
Labels
wontfix This will not be worked on

Comments

@spaceone
Copy link
Contributor

$ ruff --select PIE790 --fix --diff foo.py 
--- foo.py
+++ foo.py
@@ -1,7 +1,6 @@
 class Foo:
     """foo"""
 
-    pass
 
 
 class Bar:
$ pycodestyle foo.py
foo.py:6:1: E303 too many blank lines (3)
@charliermarsh charliermarsh added the wontfix This will not be worked on label Jan 19, 2023
@charliermarsh
Copy link
Member

To be honest, while I appreciate the issue, I think we're unlikely to fix these kinds of errors in a one-off fashion since we don't support those stylistic rules right now anyway. These could either be fixed by eventually supporting this roles, or with the completion of the autoformatter work (#1904).

@spaceone
Copy link
Contributor Author

OK. I basically don't need an auto-formatter but the basic rules from #1073. If they are available I can replace flake8 (and if the fixers are available even autopep8 can be replaced).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants