This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
70 lines (64 loc) · 1.68 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: .*drawio$
- id: check-yaml
args: [--allow-multiple-documents]
additional_dependencies: [ruamel_yaml]
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-vcs-permalinks
- id: debug-statements
- id: detect-private-key
- id: forbid-new-submodules
- id: mixed-line-ending
args: [--fix, lf]
- id: check-toml
- id: check-json
exclude: ^.devcontainer/
- id: pretty-format-json
args: [--autofix]
exclude: ^.*appsettings.*\.json$
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.88.2
hooks:
- id: terraform_fmt
- id: terragrunt_fmt
- repo: https://github.com/jackdewinter/pymarkdown
rev: v0.9.17
hooks:
- id: pymarkdown
additional_dependencies: [wcwidth, ruamel_yaml]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.12.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: https://github.com/kamadorueda/alejandra
rev: 3.0.0
hooks:
- id: alejandra-system
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.0
hooks:
- id: check-renovate
additional_dependencies: [json5, urllib3]
- id: check-github-actions
- repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta
hooks:
- id: hadolint
- repo: local
hooks:
- id: copy-repeated-files
name: Copy files
entry: copy-repeated-files.sh
language: script
always_run: true
pass_filenames: false