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

False-positive E704 with single-line stubs (black 2024 style) #1227

Closed
bersbersbers opened this issue Jan 30, 2024 · 1 comment
Closed

False-positive E704 with single-line stubs (black 2024 style) #1227

bersbersbers opened this issue Jan 30, 2024 · 1 comment

Comments

@bersbersbers
Copy link

On Windows:

>example.py echo def f(): ...&& black . && more example.py && pycodestyle example.py

yields

All done! ✨ 🍰 ✨
47 files left unchanged.
def f(): ...
example.py:1:1: E704 multiple statements on one line (def)
@bersbersbers
Copy link
Author

(Duplicate of #1036, I guess)

Joshix-1 added a commit to asozialesnetzwerk/an-website that referenced this issue Mar 29, 2024
E704 is disabled by default ( PyCQA/pycodestyle#957 (comment) )
E704 conflicts with blacks new formatting ( PyCQA/pycodestyle#1227 )
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

No branches or pull requests

1 participant