Replies: 1 comment 2 replies
-
|
Hmm, I don't think the formatter has any mechanism for setting configuration options on a per-file basis like the linter's per-file-ignores, for example. If the file is in a separate directory, you could use a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have one file in my code base containing long lines that I want to keep as is.
I added
# ruff: noqa: E501at the top to disable warnings about long lines, but the formatter still splits the line.Also maybe the
line-lengthformatter rule should be disabled whenE501is disabled.Beta Was this translation helpful? Give feedback.
All reactions