-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy path.pre-commit-config.yaml
52 lines (52 loc) · 1.39 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
repos:
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-json
- id: check-toml
- id: check-yaml
exclude: |
(?x)(
^helm/templates/|
.github/deployment-router.yaml
)
- id: end-of-file-fixer
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint-docker
stages: [manual] # Only run in CI, add to .github/workflows/pre-commit.yml
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.25
hooks:
- id: helmlint
stages: [manual] # Only run in CI, add to .github/workflows/pre-commit.yml
- repo: https://github.com/psf/black
rev: '25.1.0'
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: '6.0.0'
hooks:
- id: isort
# TODO: Enable this hook when environment issues are resolved
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
hooks:
- id: shellcheck
stages: [manual] # Only run in CI, add to .github/workflows/pre-commit.yml
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.44.0
hooks:
- id: markdownlint
exclude: "(\\.github/PULL_REQUEST_TEMPLATE\\.md|CODE_OF_CONDUCT\\.md)"
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell