File tree 1 file changed +19
-18
lines changed
1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change 3
3
- uv-lock
4
4
default_language_version :
5
5
python : python3.12
6
+ fail_fast : true
6
7
repos :
7
- # Generic file checks and fixes
8
+ # Specific checks and fixes for Git
9
+ - repo : https://github.com/jorisroovers/gitlint
10
+ rev : v0.19.1
11
+ hooks :
12
+ - id : gitlint
13
+ args :
14
+ - -c
15
+ - title-match-regex.regex=^\[#\d+\]\s(Build|Bump|Chore|Ci|Docs|Feat|Fix|Perf|Refactor|Revert|Style|Test):\s[a-z].*$
16
+ - --ignore=B6
17
+ - --msg-filename
18
+ - repo : https://github.com/pre-commit/pre-commit-hooks
19
+ rev : v5.0.0
20
+ hooks :
21
+ - id : no-commit-to-branch
22
+ args :
23
+ - --branch
24
+ - main
25
+ # Generic checks and fixes
8
26
- repo : https://github.com/pre-commit/pre-commit-hooks
9
27
rev : v5.0.0
10
28
hooks :
@@ -47,23 +65,6 @@ repos:
47
65
args :
48
66
- --fix
49
67
- id : ruff-format
50
- # Specific checks and fixes for Git
51
- - repo : https://github.com/jorisroovers/gitlint
52
- rev : v0.19.1
53
- hooks :
54
- - id : gitlint
55
- args :
56
- - -c
57
- - title-match-regex.regex=^\[#\d+\]\s(Build|Bump|Chore|Ci|Docs|Feat|Fix|Perf|Refactor|Revert|Style|Test):\s[a-z].*$
58
- - --ignore=B6
59
- - --msg-filename
60
- - repo : https://github.com/pre-commit/pre-commit-hooks
61
- rev : v5.0.0
62
- hooks :
63
- - id : no-commit-to-branch
64
- args :
65
- - --branch
66
- - main
67
68
# Dependency management
68
69
- repo : https://github.com/astral-sh/uv-pre-commit
69
70
rev : 0.5.6
You can’t perform that action at this time.
0 commit comments