-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.pre-commit-config.yaml
36 lines (33 loc) · 924 Bytes
/
.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
repos:
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.4.4
hooks:
- id: autopep8
exclude: >
(?x)^(
.git|
__pycache__|
docs/conf.py|
build|
dist
)$
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.1
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.1 # newer versions fail to honor skip=
hooks:
- id: isort
args: [--settings-path, .isort.cfg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
- id: flake8
- id: trailing-whitespace
args: [--markdown-linebreak-ext, md]
- id: end-of-file-fixer
- id: debug-statements
- id: check-merge-conflict
- id: no-commit-to-branch
args: [--branch, master]