-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (38 loc) · 1 KB
/
.pre-commit-config.yaml
File metadata and controls
38 lines (38 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
fail_fast: true
repos:
- repo: local
hooks:
- id: black
name: black
entry: uv run black --check --diff
language: system
types: [ python ]
- id: flake8
name: flake8
entry: uv run flake8
language: system
types: [ python ]
require_serial: true
- id: gitlint
name: gitlint
entry: uv run gitlint
language: system
args: [--contrib=contrib-title-conventional-commits, --ignore=body-is-missing, --msg-filename]
stages: [commit-msg]
- id: mypy
name: mypy
entry: uv run mypy src
language: system
pass_filenames: false
types: [ python ]
- id: pylint
name: pylint
entry: uv run pylint -j 0 src
language: system
pass_filenames: false
types: [ python ]
- id: pyproject-fmt
name: pyproject-fmt
entry: uv run pyproject-fmt --check
files: "^pyproject\\.toml$"
language: system