We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fce0005 commit c3b241fCopy full SHA for c3b241f
.pre-commit-config.yaml
@@ -1,7 +1,18 @@
1
+default_install_hook_types:
2
+ - pre-commit
3
+ - commit-msg
4
+
5
repos:
6
- repo: https://github.com/astral-sh/ruff-pre-commit
7
rev: v0.9.8
8
hooks:
9
- id: ruff
10
args: [--fix]
11
- id: ruff-format
12
13
+ - repo: https://github.com/compilerla/conventional-pre-commit
14
+ rev: v4.0.0
15
+ hooks:
16
+ - id: conventional-pre-commit
17
+ stages: [commit-msg]
18
+ args: []
Makefile
@@ -9,9 +9,7 @@ install-dev:
uv pip install -r requirements-dev.txt $(UV_FLAGS)
setup-git-hooks:
- @cp scripts/commit-msg.sample .git/hooks/commit-msg
@pre-commit install
- @echo "git hooks installed"
lint:
ruff check soil_id
scripts/commit-msg.sample
0 commit comments