aai-institute / pyDVL

pyDVL is a library of stable implementations of algorithms for data valuation and influence function computation
https://pydvl.org
GNU Lesser General Public License v3.0
100 stars 8 forks source link

Move to ruff linter in pre-commit and CI #548

Open jakobkruse1 opened 6 months ago

jakobkruse1 commented 6 months ago

As discussed in #530, we should use the new ruff linter to achieve significant speedups. ruff is meant to replace all other linters in the current pre-commit and CI definitions. ruff also should be used for formatting instead of black. Linter rules are up for discussion while implementing.

AnesBenmerzoug commented 6 months ago

Having used it a bit in another project, I have to admit that I like ruff. It's fast and automatically resolves many of the issues instead of just complaining about them.

I think this issue is missing some details. Could you please answer these questions in the description?