-
Notifications
You must be signed in to change notification settings - Fork 14
/
.pre-commit-config.yaml
55 lines (48 loc) · 1.29 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
---
repos:
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black
language_version: python3.7
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.2
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort
language_version: python3.7
- repo: git://github.com/detailyang/pre-commit-shell
rev: v1.0.6
hooks:
- id: shell-lint
args: [--severity=warning]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.761
hooks:
- id: mypy
- repo: git://github.com/detailyang/pre-commit-shell
rev: v1.0.6
hooks:
- id: shell-lint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
- id: flake8
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: tests\/data\/bed_pearson_correlation_qc\.json$
- id: debug-statements
- id: check-json
- id: pretty-format-json
exclude: tests\/data\/.+\.json$
args:
- --autofix
- id: check-yaml
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.0.10
hooks:
- id: yamlfmt
args: [--mapping, '2', --sequence, '4', --offset, '2']