-
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
Ignore pragma when considering E501 #3894
Comments
Yeah that's an interesting question. I tend to agree, but let me leave this open for a bit to see if any other opinions come in. |
|
Oh that's great to know. Honestly that might be enough of a justification to just ship it :) |
I would also add to the ignore list black's "# fmt: {on,off,skip}" 🙏🏻 |
What I'd love to see is a way to configure which pragmas that ruff ignores. For my use, I would want it to ignore |
We made this change recently. It'll be out in the next release. |
I wrote this snippet of code and the
<- !
line triggersE501
.Since what triggers the warning is the pragma, I wanted to ask whether you believe that pragmas should not trigger
E501
- something that Google has recently done with theirpyink
Python code formatter.The text was updated successfully, but these errors were encountered: