My pre-commit
hooks.
-
Install
pre-commit
. -
Add the following to your
.pre-commit-config.yaml
:repos: - repo: https://github.com/dycw/pre-commit-hooks rev: master hooks: - id: run-bump2version args: [--setup-cfg] - id: run-dockfmt - id: run-hatch-version - id: run-ruff-format - id: run-uv-pip-compile args: [--python-version=3.9]
-
Update your
.pre-commit-config.yaml
:pre-commit autoupdate