deptry
deptry copied to clipboard
Add yesqa-style rule against unused ignores
Is your feature request related to a problem? Please describe.
It's good to ensure that the ignores remain up-to-date, in particular it would be nice to ensure that unnecessary ignores are deleted.
Describe the solution you would like
My favorite solution to this type of problem is yesqa or equivalently RUF100. In particular, I'd like a new rule, like maybe DEP005, that fails when there exists an ignore which was never triggered.