Skip to content

Commit dfd408d

Browse files
authored
chore: remove commitizen and add isort (#5486)
* remove commitizen Signed-off-by: sirutBuasai <sirutbuasai27@outlook.com> * fix typo Signed-off-by: sirutBuasai <sirutbuasai27@outlook.com> --------- Signed-off-by: sirutBuasai <sirutbuasai27@outlook.com>
1 parent 49441d0 commit dfd408d

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ repos:
2323
- id: no-commit-to-branch
2424
name: "🌳 git · Protect main branches"
2525
args: ["--branch", "main", "--branch", "master"]
26-
- id: check-added-large-files
27-
name: "🌳 git · Block large file commits"
28-
args: ["--maxkb=5000"]
2926
# ---------------------------- 📁 Filesystem Tools --------------------------- #
3027
- id: check-executables-have-shebangs
3128
name: "📁 filesystem/⚙️ exec · Verify shebang presence"
@@ -49,7 +46,7 @@ repos:
4946
args:
5047
- --allow-missing-credentials
5148
- id: detect-private-key
52-
name: "🔒 security · Detect private kayes"
49+
name: "🔒 security · Detect private keys"
5350

5451

5552
- repo: https://github.com/gitleaks/gitleaks
@@ -87,6 +84,12 @@ repos:
8784
name: "🐙 github-actions · Validate gh workflow files"
8885
args: ["--verbose"]
8986

87+
- repo: https://github.com/pycqa/isort
88+
rev: 7.0.0
89+
hooks:
90+
- id: isort
91+
name: "🐍 python · Sort python packages"
92+
9093
- repo: https://github.com/rhysd/actionlint
9194
rev: v1.7.8
9295
hooks:
@@ -137,13 +140,6 @@ repos:
137140
# --------------------------- ✍️ Git Commit Quality -------------------------- #
138141

139142
### 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-
147143
- repo: local
148144
hooks:
149145
- id: signoff-commit

0 commit comments

Comments
 (0)