-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
61 lines (61 loc) · 1.49 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
exclude: cloudfront-auth
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.0
hooks:
- id: yamllint
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks.git
rev: v2.0.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.47.0
hooks:
- id: terraform_docs
args: [-a --hide-all --show inputs --show outputs]
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.12
hooks:
- id: terraform-fmt
- id: terragrunt-hclfmt
- id: terraform-validate
exclude: example
- id: tflint
- id: shellcheck
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.27.1
hooks:
- id: markdownlint
- repo: https://github.com/bridgecrewio/checkov.git
rev: 1.0.825
hooks:
- id: checkov
- repo: https://github.com/codespell-project/codespell
rev: v2.0.0
hooks:
- id: codespell
args:
- --quiet-level=2
- --check-filenames
- --check-hidden
- --ignore-words=.codespell-ignore
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.3.5
hooks:
- id: reorder-python-imports
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
- id: pyupgrade
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black