Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 647 Bytes

File metadata and controls

26 lines (15 loc) · 647 Bytes

Pre-Commit

Used for maintaining Git hooks. Installed and managed by Poetry.

Whenever this repository is initially cloned, the following should be executed:

pre-commit install --install-hooks
pre-commit install --install-hooks --hook-type commit-msg

Pre-commit should now run on every commit. It is also used in GitHub Actions.

Pre-commit is configured via ../.pre-commit-config.yaml.

Cheat Sheet

Run pre-commit against all files.

pre-commit run -a

Run specific hook against all files.

pre-commit run <hook> -a