deptry icon indicating copy to clipboard operation
deptry copied to clipboard

Add yesqa-style rule against unused ignores

Open maresb opened this issue 1 year ago • 2 comments

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.

maresb avatar Jun 09 '24 14:06 maresb