-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pre-commit-config.yaml
72 lines (65 loc) · 1.5 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
repos:
- repo: https://github.com/psf/black
rev: 22.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
- #
pycodestyle ==2.8.0
- #
pyflakes ==2.4.0
- #
flake8-bandit ==3.0.0
- #
bandit ==1.7.4
- #
flake8-bugbear ==21.4.3
- #
flake8-docstrings ==1.6.0
- #
pydocstyle ==6.1.1
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
hooks:
- id: isort
- repo: local
hooks:
- id: mypy
name: mypy
language: python
additional_dependencies:
- #
venv-run ==0.1.0
entry: venv-run mypy
types: [python]
- id: pylint
name: pylint
language: python
additional_dependencies:
- #
venv-run ==0.1.0
entry: venv-run pylint
types: [python]
exclude: ^bin/hashpipe$
- repo: https://github.com/asottile/pyupgrade
rev: v2.24.0
hooks:
- id: pyupgrade
args: [--py3-plus, --keep-percent-format]
- repo: https://github.com/jackdewinter/pymarkdown
rev: 0.9.0
hooks:
- id: pymarkdown
entry: pymarkdown
args:
- --config=.pymarkdown.json
- scan
exclude: ^CHANGELOG\.md$
- repo: https://github.com/crate-ci/typos
rev: v1.1.7
hooks:
- id: typos