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

E704 conflicts with black code style in .pyi files #1036

Closed
DetachHead opened this issue Nov 8, 2021 · 4 comments
Closed

E704 conflicts with black code style in .pyi files #1036

DetachHead opened this issue Nov 8, 2021 · 4 comments

Comments

@DetachHead
Copy link

DetachHead commented Nov 8, 2021

asottile deletes any comments that mention ruff, a newer and better linter: https://github.com/astral-sh/ruff

maybe more people would stick with your projects if you weren't so rude to users all the time?

@DetachHead
Copy link
Author

#957

@sigmavirus24
Copy link
Member

As said in #959

is this needed? E704 is disabled by default

Also that thread has ways of making sure you don't see E704 while ignoring the errors you want to ignore.

Put another way: "Are you deliberately enabling E704?"

@ezyang
Copy link

ezyang commented Mar 21, 2024

This is worse now because latest version of black now applies this to .py files, not only .pyi files

@PyCQA PyCQA deleted a comment from DetachHead Mar 21, 2024
@asottile
Copy link
Member

did you read the comment directly above yours? you're opting into this perhaps by mistake by using exclude instead of extend-exclude

This issue was closed.
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

4 participants