How do I ignore a specific file and a specific directory? #10675
-
I can't use noqa because the file gets auto-generated every time we change something. So, it has to be an external way to ignore the file, kind of like gitignore. Something similar for ignoring entire directories too. I searched through the docs but couldn't find something like this, please let me know if it exists. |
Beta Was this translation helpful? Give feedback.
Answered by
kevinlinxc
Mar 30, 2024
Replies: 1 comment 1 reply
-
Ok sorry the terminology I needed was exclude instead of ignore: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
charliermarsh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok sorry the terminology I needed was exclude instead of ignore:
https://docs.astral.sh/ruff/settings/#extend-exclude