-
Notifications
You must be signed in to change notification settings - Fork 241
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (35 loc) · 1.15 KB
/
.pre-commit-config.yaml
File metadata and controls
39 lines (35 loc) · 1.15 KB
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
# pre-commit for deployment related resources
# e.g. shell files, dockerfiles, helm chart etc..
repos:
- repo: https://github.com/hadolint/hadolint
rev: 'v2.10.0'
hooks:
- id: hadolint
# Cannot use official repo as it relies on Docker, which cannot be supported by either pre-commit.ci or CircleCI
- repo: https://github.com/Jarmos-san/shellcheck-precommit
rev: 'v0.2.0'
hooks:
- id: shellcheck-system
name: shellcheck
- repo: https://github.com/specklesystems/pre-commit
rev: '0.2.0'
hooks:
- id: ggshield-not-ci
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.12.2
hooks:
- id: ruff-check
name: ruff checker (python linter)
args:
- --ignore=E501 # ignoring error about lines that are too long
# - --fix # uncomment to automatically fix linting errors
# Run the linter.
- id: ruff-format
name: ruff formatter (python formatter)
# helmlint should occur after the json schema is updated
- repo: https://github.com/gruntwork-io/pre-commit
rev: 'v0.1.17'
hooks:
- id: helmlint
ci:
autoupdate_schedule: quarterly