Skip to content

Pre commit FAQ

Sylwester Arabas edited this page May 9, 2023 · 1 revision

How to set-up pre-commit hooks locally?

cd XXX
pre-commit install

(where XXX is PyPartMC, PySDM, PySDM-examples or other git-tracked folder)

How to execute the pre-commit logic without attempting an actual commit?

pre-commit run --all-files
Clone this wiki locally