Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 585 Bytes

precommit.md

File metadata and controls

16 lines (11 loc) · 585 Bytes

Enabling Pre-Commit Checks

There's a pre-commit config file available in the repository root (.pre-commit-config.yaml) that can be used to enable automatic checks upon commit - the commit will not go through if the checks don't pass.

To enable pre-commit, the following must be run once:

uvx pre-commit install

!!! note "Bypassing pre-commit checks" Enabling of pre-commit checks is not mandatory (it cannot be enforced) and even if it is enabled, it can always be bypassed with:

```console
git commit --no-verify
```