-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
57 lines (51 loc) · 1.56 KB
/
.pre-commit-config.yaml
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
repos:
- repo: local
hooks:
- entry: .venv/bin/build-harness install --check
id: install-check
language: system
name: Virtual environment installed dependencies are current
pass_filenames: false
- repo: local
hooks:
- entry: .venv/bin/build-harness formatting
id: formatting
language: system
name: Black, isort formatting passes
pass_filenames: false
- repo: local
hooks:
- entry: .venv/bin/build-harness static-analysis --analysis flake8
id: flake8
language: system
name: Build harness flake8 analysis passes
pass_filenames: false
- repo: local
hooks:
- entry: .venv/bin/build-harness static-analysis --analysis mypy
id: mypy
language: system
name: Build harness mypy analysis passes
pass_filenames: false
- repo: local
hooks:
- entry: .venv/bin/build-harness static-analysis --analysis pydocstyle
id: static-analysis
language: system
name: Build harness pydocstyle analysis passes
pass_filenames: false
- repo: local
hooks:
- entry: .venv/bin/build-harness unit-test
id: unit-test
language: system
name: Unit tests run clean
pass_filenames: false
- repo: local
hooks:
# Don't forget to update the coverage threshold in .gitlab-ci.yml
- entry: .venv/bin/build-harness unit-test --check 90
id: unit-test-check
language: system
name: Coverage analysis passes
pass_filenames: false