Closed qin-yu closed 1 month ago
pre-commit.ci shall be installed after merging this PR.
This PR includes substantial changes and improvements. Given the current unavailability of the other maintainers, I will proceed with merging it and start the next PR.
PS: Using co-author on the great reformatting commit caused GitHub to triple the addition/deletion count in stats.
Use
pre-commit
typos
: https://github.com/crate-ci/typos (only needed "OME", "ND" and "datas" as exceptions)ruff
/ruff-format
: https://github.com/astral-sh/ruff-pre-commit (Black-compatible)Codecov: overkillFor contributors
You don't have to do anything because the CI fixes minor problems in new commits. But to check what might happen by yourself:
Either:
Or:
cd
to the repo root and runpre-commit run --all-files