-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
59 lines (50 loc) · 1.54 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
58
59
fail_fast : true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-ast
- id: check-executables-have-shebangs
exclude: "__init__.py"
- id: check-symlinks
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: flake8
args: [--max-line-length=90, --ignore=F401]
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: ''
hooks:
- id: shellcheck
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: ''
hooks:
- id: script-must-have-extension
name: Local policy is to use .sh extension for shell scripts
types: [shell, executable]
- repo: https://github.com/Lucas-C/pre-commit-hooks-go
rev: ''
hooks:
- id: checkmake
- 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.20
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black
language_version: python3.6
- repo: https://github.com/asottile/pyupgrade
rev: v1.22.1
hooks:
- id: pyupgrade
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: ''
hooks:
- id: forbid-crlf
- id: forbid-tabs