|
23 | 23 | - id: no-commit-to-branch |
24 | 24 | name: "🌳 git · Protect main branches" |
25 | 25 | args: ["--branch", "main", "--branch", "master"] |
26 | | - - id: check-added-large-files |
27 | | - name: "🌳 git · Block large file commits" |
28 | | - args: ["--maxkb=5000"] |
29 | 26 | # ---------------------------- 📁 Filesystem Tools --------------------------- # |
30 | 27 | - id: check-executables-have-shebangs |
31 | 28 | name: "📁 filesystem/⚙️ exec · Verify shebang presence" |
|
49 | 46 | args: |
50 | 47 | - --allow-missing-credentials |
51 | 48 | - id: detect-private-key |
52 | | - name: "🔒 security · Detect private kayes" |
| 49 | + name: "🔒 security · Detect private keys" |
53 | 50 |
|
54 | 51 |
|
55 | 52 | - repo: https://github.com/gitleaks/gitleaks |
@@ -87,6 +84,12 @@ repos: |
87 | 84 | name: "🐙 github-actions · Validate gh workflow files" |
88 | 85 | args: ["--verbose"] |
89 | 86 |
|
| 87 | + - repo: https://github.com/pycqa/isort |
| 88 | + rev: 7.0.0 |
| 89 | + hooks: |
| 90 | + - id: isort |
| 91 | + name: "🐍 python · Sort python packages" |
| 92 | + |
90 | 93 | - repo: https://github.com/rhysd/actionlint |
91 | 94 | rev: v1.7.8 |
92 | 95 | hooks: |
@@ -137,13 +140,6 @@ repos: |
137 | 140 | # --------------------------- ✍️ Git Commit Quality -------------------------- # |
138 | 141 |
|
139 | 142 | ### Commit Message Standards ### |
140 | | - - repo: https://github.com/commitizen-tools/commitizen |
141 | | - rev: v4.1.0 |
142 | | - hooks: |
143 | | - - id: commitizen |
144 | | - name: "🌳 git · Validate commit message" |
145 | | - additional_dependencies: [cz-conventional-gitmoji] |
146 | | - |
147 | 143 | - repo: local |
148 | 144 | hooks: |
149 | 145 | - id: signoff-commit |
|
0 commit comments