-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
51 lines (45 loc) · 1.19 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/myint/unify
rev: "v0.5"
hooks:
- id: unify
args: [-i]
- repo: https://github.com/myint/docformatter
rev: "v1.4"
hooks:
- id: docformatter
args: [--wrap-summaries=160, --wrap-descriptions=160, -i]
- repo: https://github.com/pre-commit/mirrors-yapf
rev: "v0.31.0"
hooks:
- id: yapf
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
args: [--load-plugins=pylint_quotes]
- repo: local
hooks:
- id: mypy
name: mypy
language: system
types: [python]
pass_filenames: false
entry: bash -c 'exec mypy .'
- repo: https://github.com/executablebooks/mdformat
rev: 0.6.2
hooks:
- id: mdformat
exclude: "CHANGELOG.md"
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v4.1.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies:
- "@commitlint/config-angular@^12.0.1"