Skip to content

Commit 8654b81

Browse files
committed
ci: use gitlint pre-commit repo
1 parent 6d2bc13 commit 8654b81

File tree

3 files changed

+5
-60
lines changed

3 files changed

+5
-60
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
fail_fast: true
22
repos:
3+
- repo: https://github.com/jorisroovers/gitlint
4+
rev: v0.19.1
5+
hooks:
6+
- id: gitlint
7+
args: [--contrib=contrib-title-conventional-commits, --ignore=body-is-missing, --msg-filename]
38
- repo: local
49
hooks:
510
- id: black
@@ -13,12 +18,6 @@ repos:
1318
language: system
1419
types: [ python ]
1520
require_serial: true
16-
- id: gitlint
17-
name: gitlint
18-
entry: uv run gitlint
19-
language: system
20-
args: [--contrib=contrib-title-conventional-commits, --ignore=body-is-missing, --msg-filename]
21-
stages: [commit-msg]
2221
- id: mypy
2322
name: mypy
2423
entry: uv run mypy src

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ dev = [
4343
"flake8-isort>=6",
4444
"flake8-quotes>=3.3.2",
4545
"freezegun>=1.5.1",
46-
"gitlint>=0.19.1; sys_platform!='win32'",
4746
"mypy>=1.13",
4847
"pre-commit>=4.0.1",
4948
"pylint>=4.0.4",

uv.lock

Lines changed: 0 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)