forked from mattkinsey/bucky
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.pre-commit-config.yaml
58 lines (52 loc) · 1.44 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
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
#language_version: python3.8 # Should be a command that runs python3.6+
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.6.4
hooks:
- id: isort
#language_version: python3.8
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
args: ['--config=tox.ini', '--exit-zero']
additional_dependencies: [
flake8-docstrings,
flake8-builtins,
flake8-commas,
flake8-comprehensions,
flake8-logging-format,
flake8-print,
flake8-simplify,
#flake8-spellcheck,
flake8-rst-docstrings,
flake8-bugbear,
#flake8-eradicate,
flake8-use_fstring,
pandas-vet, # need to disable once we enforce flake8, there are tons of false positives
]
verbose: true
#language_version: python3.8
- repo: https://github.com/econchick/interrogate
rev: 1.3.1 # or master if you're bold
hooks:
- id: interrogate
files: 'bucky/'
verbose: true
#
# - repo: https://github.com/pre-commit/mirrors-pylint
# rev: v2.6.0
# hooks:
# - id: pylint
# language_version: python3.8
#
# - repo: https://github.com/terrencepreilly/darglint
# rev: v1.5.5
# hooks:
# - id: darglint
# args: ['--no-exit-code']
# verbose: true