Bachmann1234 / diff_cover

Automatically find diff lines that need test coverage.
Apache License 2.0
696 stars 189 forks source link

Support ruff for quality checking #362

Open AdamWill opened 1 year ago

AdamWill commented 1 year ago

Ruff seems to be the cool new kid on the block for Python linting. Could we have diff-cover support it for quality checking? At a quick look I guess it might be pretty simple if it works nicely with RegexBasedDriver, if I get time to try it myself I will do...

Bachmann1234 commented 1 year ago

Sorry, responded from a work account before.

100% open to a pr on this. I don't typically add features to diff cover myself since I don't actively work on any python projects right now and I would prefer anything that gets added has at least one person who intends on using the feature.

I see my role as maintaining dependencies, keeping python up to date, managing prs that come in and helping with issues when there is enough detail for me to understand and reproduce the problem.

Gary-LePeep commented 1 week ago

I would also like to see this feature developed, I definitely find it useful since ruff is like the all-around linter