forked from Matgenix/turbomoleio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
44 lines (44 loc) · 1.15 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
default_language_version:
python: python3.8
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks:
- id: trailing-whitespace
types: [python]
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: name-tests-test
args: ['--django']
- repo: https://github.com/PyCQA/bandit
rev: 1.6.3
hooks:
- id: bandit
args: ['-iii', '-ll', '-s=B308,B703']
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
#- repo: https://github.com/PyCQA/pylint
# rev: pylint-2.6.0
# hooks:
# - id: pylint
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.6.4
hooks:
- id: isort
- repo: https://github.com/pycqa/pydocstyle
rev: 5.1.1 # pick a git hash / tag to point to
hooks:
- id: pydocstyle
exclude: (examples_usage|test_.*py|docs_rst) # exclude some files
#- repo: https://github.com/pre-commit/mirrors-mypy
# rev: v0.790
# hooks:
# - id: mypy
# exclude: (examples_usage|test_.*py|docs_rst) # exclude some files
# args: []