-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
51 lines (48 loc) · 1.25 KB
/
.pre-commit-config.yaml
File metadata and controls
51 lines (48 loc) · 1.25 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
39
40
41
42
43
44
45
46
47
48
49
50
51
default_language_version:
python: python3.12
default_stages: [pre-commit, pre-push]
default_install_hook_types:
- pre-commit
- commit-msg
- pre-push
repos:
- repo: https://github.com/MarcoGorelli/absolufy-imports
rev: v0.3.1
hooks:
- id: absolufy-imports
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.2.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: [--strict, feat, fix, docs, test, ci, refactor, perf, chore, revert]
- repo: local
hooks:
- id: lint
name: lint
entry: make lint
language: system
types: [ python ]
pass_filenames: false
- id: secure
name: secure
entry: make secure
language: system
types: [python]
pass_filenames: false
- id: pytype
name: pytype
entry: make type-check
language: system
types: [python]
pass_filenames: false
- id: check-branch-name
name: check-branch-name
entry: make check-branch-name
language: system
pass_filenames: false
- id: check-coverage
name: check-coverage
entry: make test-cov
language: system
pass_filenames: false