-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
83 lines (83 loc) · 2.05 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: mixed-line-ending
- id: fix-byte-order-marker
- id: check-merge-conflict
- id: check-json
- id: check-yaml
- id: sort-simple-yaml
- id: check-xml
- id: check-merge-conflict
- id: check-ast
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-toml
- id: check-added-large-files
- id: check-symlinks
- id: destroyed-symlinks
- id: detect-private-key
- id: fix-encoding-pragma
args: [--remove]
- id: no-commit-to-branch
args: [--branch, master]
- id: requirements-txt-fixer
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
rev: v1.5.1
hooks:
- id: check-pre-commit-ci-config
- repo: https://github.com/pre-commit/pre-commit
rev: v2.18.1
hooks:
- id: validate_manifest
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.0.1
hooks:
- id: reorder-python-imports
args: [--py39-plus]
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.2.2
hooks:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.0
hooks:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.1
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.14.2
hooks:
- id: check-github-workflows
- id: check-github-actions
- id: check-azure-pipelines
- id: check-readthedocs
- id: check-travis
- repo: https://github.com/AleksaC/hadolint-py
rev: v2.10.0
hooks:
- id: hadolint
args:
- '--ignore'
- 'DL3059'
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.4
hooks:
- id: shellcheck
args:
- "--exclude=1071,1090,1091,2001"
- repo: https://github.com/asottile/yesqa
rev: v1.3.0
hooks:
- id: yesqa
ci:
autofix_prs: false
autoupdate_commit_msg: 'chore(pre-commit): bump repositories'