TRAIS-Lab / dattri

`dattri` is a PyTorch library for developing, benchmarking, and deploying efficient data attribution algorithms.
https://trais-lab.github.io/dattri/
MIT License
28 stars 8 forks source link

Change ruff check rules #34

Closed jiaqima closed 4 months ago

jiaqima commented 4 months ago

Description

Previously ruff only checks the folders dattri and test, leading to format issues in setup.py uncaught. This PR changes lint.yml to make ruff by default check everything. Files that do not need ruff check should be listed in the exclude list in pyproject.toml. The folder docs is listed there now.