7
7
# Links:
8
8
#
9
9
# Pre-commit: https://pre-commit.com/
10
- # The author's template: https://github.com/AFg6K7h4fhy2/AFg6K7h4fhy2-Template
11
10
# Supported hooks: https://github.com/pre-commit/pre-commit-hooks
12
11
# Ruff Linter rules: https://docs.astral.sh/ruff/rules/
13
12
# Ruff formatter overview: https://docs.astral.sh/ruff/formatter/#line-breaks
@@ -121,8 +120,6 @@ repos:
121
120
" --ignore=E731" ,
122
121
# indentation contains tabs (sorry, I like tabs)
123
122
" --ignore=W191" ,
124
- # for streamlit application, this has to be ignored
125
- " --ignore=F841" ,
126
123
# E and W: pycodestyle, standard PEP8 errors and pycodestyle warnings.
127
124
# F: pyflakes warnings (e.g., unused variables, undefined names).,
128
125
# B: flake8-bugbear (useful best practices).
@@ -157,6 +154,13 @@ repos:
157
154
args : ["--baseline", ".secrets.baseline"]
158
155
exclude : package.lock.json
159
156
# ##############################################################################
157
+ # GITHUB ACTIONS
158
+ # ##############################################################################
159
+ - repo : https://github.com/rhysd/actionlint
160
+ rev : v1.7.7
161
+ hooks :
162
+ - id : actionlint
163
+ # ##############################################################################
160
164
# SPELLING
161
165
# ##############################################################################
162
166
- repo : https://github.com/crate-ci/typos
@@ -165,3 +169,14 @@ repos:
165
169
- id : typos
166
170
args : ["--force-exclude"]
167
171
# ##############################################################################
172
+ # COMMIT MESSAGES
173
+ # ##############################################################################
174
+ - repo : https://github.com/commitizen-tools/commitizen
175
+ rev : v4.1.1
176
+ hooks :
177
+ - id : commitizen
178
+ - repo : https://github.com/jorisroovers/gitlint
179
+ rev : v0.19.1
180
+ hooks :
181
+ - id : gitlint
182
+ # ##############################################################################
0 commit comments