Replies: 1 comment
-
|
I think you can use The alternative would be to have different |
Beta Was this translation helpful? Give feedback.
0 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 a large repository where the majority of files want to ignore a bunch of rules. But, I'd like to start turning those rules on for some directories within the repository. What is the recommended approach to accomplish this?
It appears that the global
ignoredefined intool.ruff.linttakes precedence over theper-file-ignores. I am able to accomplish this using a newpyproject.tomlin the desired directories. Is it possible to do this in a single file to ensure that other settings (e.g.line-lengthandquote-style) stay consistent?Beta Was this translation helpful? Give feedback.
All reactions