Newer
Older
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: meta
hooks:
- id: check-hooks-apply
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-added-large-files
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.5.1
hooks:
- id: python-no-eval
- id: python-no-log-warn
- id: python-use-type-annotations
- repo: https://github.com/hakancelik96/unimport
rev: v0.2.7
hooks:
- id: unimport
args: [--remove]
- repo: https://github.com/timothycrosley/isort
rev: 4.3.21-2
hooks:
- id: isort
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
args: ["--config=setup.cfg"]
additional_dependencies:
- flake8-commas
- flake8-copyright
- flake8-bugbear
- flake8-docstrings
- flake8-print
- flake8-requirements
- flake8-return
- flake8-sfs
- flake8-tabs
- repo: https://code.kodo.org.uk/dom/pre-commit-pylint
rev: v0.1
hooks:
- id: pylint
args: [--extras=test, --fail-under=9.0]