-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
43 lines (41 loc) · 1.02 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-merge-conflict
- id: check-toml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
hooks:
- id: python-check-blanket-noqa
- id: python-use-type-annotations
- repo: https://github.com/pre-commit/mirrors-mypy.git
rev: v0.930
hooks:
- id: mypy
- repo: https://github.com/asottile/dead
rev: v1.4.0
hooks:
- id: dead
- repo: https://github.com/psf/black.git
rev: 21.12b0
hooks:
- id: black
- repo: https://github.com/timothycrosley/isort.git
rev: 5.10.1
hooks:
- id: isort
additional_dependencies: ["toml"]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.1
hooks:
- id: bandit
- repo: https://gitlab.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8