-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
55 lines (55 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
52
53
54
55
exclude: ^scripts
fail_fast: true
repos:
- repo: local
hooks:
- id: black
name: Black
entry: black
pass_filenames: true
language: system
files: '\.py$'
- repo: local
hooks:
- id: isort
name: isort
entry: isort
pass_filenames: true
language: system
files: '\.py$'
- repo: local
hooks:
- id: mypy
name: MyPy
entry: mypy
pass_filenames: true
language: system
files: '\.py$'
- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8
pass_filenames: true
language: system
files: '\.py$'
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
name: Run pydocstyle
args:
- --convention=google
#- --add-ignore=D100,D102,D103,D104,D105,D107,D202,D205,D400,D401
exclude: _test.py$
pass_filenames: true
files: '\.py$'
- repo: local
hooks:
- id: pylint
name: Pylint
entry: pylint multimedeval
pass_filenames: true
always_run: true
language: system
files: '\.py$'