-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
48 lines (42 loc) · 1.04 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
hooks:
- id: check-yaml
name: Check YAML
- id: trailing-whitespace
name: Trailing Whitespace
- id: end-of-file-fixer
name: End of File Fixer
# - repo: https://github.com/PyCQA/bandit
# rev: 1.6.2
# hooks:
# - id: bandit
# name: Bandit
- repo: https://github.com/timothycrosley/isort
rev: 5.1.4
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
name: Black
- repo: https://github.com/mwouts/jupytext
rev: v1.11.0 # CURRENT_TAG/COMMIT_HASH
hooks:
- id: jupytext
args: [--sync, --pipe, black]
additional_dependencies:
- black==19.10b0 # Matches hook
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
name: Flake8
- repo: https://github.com/PyCQA/pylint
rev: pylint-2.5.3
hooks:
- id: pylint
name: Pylint
verbose: true