-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
59 lines (54 loc) · 1.16 KB
/
.pre-commit-config.yaml
File metadata and controls
59 lines (54 loc) · 1.16 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
52
53
54
55
56
57
58
59
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
types: [text]
- repo: https://github.com/timothycrosley/isort
rev: 6.0.1
hooks:
- id: isort
language_version: python3
args: [
"--profile", "black",
"-l", "120"
]
- repo: https://github.com/ambv/black
rev: 25.1.0
hooks:
- id: black
language_version: python3
args: [
"--line-length", "120"
]
- repo: local
hooks:
- id: mypy
name: mypy
entry: mypy
language: system
types: [python]
verbose: True
require_serial: true
exclude: ^src/schemas/
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
verbose: True
require_serial: true
exclude: ^src/schemas/
- repo: local
hooks:
- id: pytest
name: pytest
entry: make test
language: system
types:
- python
stages:
- pre-push
pass_filenames: false