File tree Expand file tree Collapse file tree 1 file changed +18
-12
lines changed
Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,22 @@ repos:
3232 - id : mixed-line-ending
3333 args : [--fix=lf]
3434
35+ # Non-modifying checks:
36+ - id : name-tests-test
37+ files : >-
38+ ^tests/[^_].*\.py$
39+
3540 # Security
3641 - id : detect-aws-credentials
3742 args :
3843 - --allow-missing-credentials
3944 - id : detect-private-key
4045
41- # Non-modifying checks:
42- - id : name-tests-test
43- files : >-
44- ^tests/[^_].*\.py$
46+ # Detect hardcoded secrets
47+ - repo : https://github.com/gitleaks/gitleaks
48+ rev : v8.16.3
49+ hooks :
50+ - id : gitleaks
4551
4652- repo : https://github.com/adrienverge/yamllint.git
4753 rev : v1.35.1
@@ -53,6 +59,14 @@ repos:
5359 args :
5460 - --strict
5561
62+ # JSON5 Linter
63+ - repo : https://github.com/pre-commit/mirrors-prettier
64+ rev : v3.1.0
65+ hooks :
66+ - id : prettier
67+ # https://prettier.io/docs/en/options.html#parser
68+ files : .json5$
69+
5670- repo : https://github.com/pre-commit/mirrors-mypy.git
5771 rev : v1.14.1
5872 hooks :
@@ -135,11 +149,3 @@ repos:
135149 - --ignore=SC1091 # Useless check
136150 - --ignore=SC2015 # Useless check
137151 - --ignore=SC3037 # Not related to alpine
138-
139- # JSON5 Linter
140- - repo : https://github.com/pre-commit/mirrors-prettier
141- rev : v3.1.0
142- hooks :
143- - id : prettier
144- # https://prettier.io/docs/en/options.html#parser
145- files : .json5$
You can’t perform that action at this time.
0 commit comments