Replies: 1 comment 1 reply
-
Previous discussion at #1149 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
We're introducing ruff to our codebase and ideally would like to roll out stricter rulesets without the need to fix 20k+ issues.
Possible Solution
Create a "database" containing all findings to be ignored. The findings could be a hash-map consisting of hash of line of code and the reported error code. Upon the next run ruff could use this to exclude those findings.
Notes:
column
/row
as this will eventually change over timeExample:
Finding
Create findings to be ignored:
ruff-ignore.txt
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions