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
-
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
ignore
defined intool.ruff.lint
takes precedence over theper-file-ignores
. I am able to accomplish this using a newpyproject.toml
in the desired directories. Is it possible to do this in a single file to ensure that other settings (e.g.line-length
andquote-style
) stay consistent?Beta Was this translation helpful? Give feedback.
All reactions