-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
56 lines (48 loc) · 1.13 KB
/
.pre-commit-config.yaml
File metadata and controls
56 lines (48 loc) · 1.13 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
default_language_version:
python: python3.9
repos:
- repo: local
hooks:
- id: validate_circle_ci
name: Validate Circle CI config
entry: bash -c ". validate_circle_ci.sh"
language: system
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: debug-statements
- repo: local
hooks:
- id: format
name: format files with black and isort
entry: make format
language: system
types: [python]
- repo: local
hooks:
- id: flake8
name: lint files
entry: make lint
language: system
types: [python]
- repo: local
hooks:
- id: mypy
name: typecheck files
entry: make typecheck
language: system
types: [python]
- repo: local
hooks:
- id: unittests
name: unittests
entry: make test-unit
language: system
types: [python]