@@ -10,8 +10,45 @@ repos:
1010- repo : https://github.com/pre-commit/pre-commit-hooks
1111 rev : v6.0.0
1212 hooks :
13+ # Git
14+ - id : check-added-large-files
15+ - id : no-commit-to-branch
16+ name : " ensure no direct commit to master/maintenance branches"
17+ args : [--branch, "master", --pattern, "maintenance/.*"]
18+ - id : check-case-conflict
19+ - id : check-illegal-windows-names
20+ - id : check-ast
21+ - id : check-builtin-literals
22+ - id : check-case-conflict
23+ - id : check-executables-have-shebangs
24+ - id : check-merge-conflict
25+ - id : check-toml
26+ - id : debug-statements
27+ - id : destroyed-symlinks
1328 - id : end-of-file-fixer
29+ - id : fix-byte-order-marker
30+ - id : mixed-line-ending
1431 - id : trailing-whitespace
32+ - repo : https://github.com/pre-commit/pygrep-hooks
33+ rev : v1.10.0
34+ hooks :
35+ - id : python-check-blanket-noqa
36+ - id : python-check-blanket-type-ignore
37+ - id : python-check-mock-methods
38+ - id : python-no-eval
39+ - id : python-no-log-warn
40+ - id : python-use-type-annotations
41+ - id : rst-backticks
42+ - id : rst-directive-colons
43+ - id : rst-inline-touching-normal
44+ - id : text-unicode-replacement-char
45+ - repo : https://github.com/codespell-project/codespell
46+ rev : v2.4.1
47+ hooks :
48+ - id : codespell
49+ args : ["-L", "nd,hart,elemente,wirth"]
50+ additional_dependencies :
51+ - tomli
1552- repo : https://github.com/psf/black
1653 rev : 26.3.1
1754 hooks :
@@ -47,3 +84,19 @@ repos:
4784 hooks :
4885 - id : cython-lint
4986 - id : double-quote-cython-strings
87+
88+ - repo : https://github.com/jumanjihouse/pre-commit-hooks
89+ rev : 3.0.0
90+ hooks :
91+ - id : shellcheck
92+
93+ - repo : https://github.com/gitleaks/gitleaks
94+ rev : v8.30.0
95+ hooks :
96+ - id : gitleaks
97+
98+ - repo : https://github.com/rhysd/actionlint
99+ rev : v1.7.11
100+ hooks :
101+ - id : actionlint
102+ args : ["-ignore", "SC2317"]
0 commit comments