Skip to content

Commit 3eb6c3f

Browse files
committed
revert some earlier removals, narrower PR scope
1 parent 479e19a commit 3eb6c3f

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.pre-commit-config.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# Links:
88
#
99
# Pre-commit: https://pre-commit.com/
10-
# The author's template: https://github.com/AFg6K7h4fhy2/AFg6K7h4fhy2-Template
1110
# Supported hooks: https://github.com/pre-commit/pre-commit-hooks
1211
# Ruff Linter rules: https://docs.astral.sh/ruff/rules/
1312
# Ruff formatter overview: https://docs.astral.sh/ruff/formatter/#line-breaks
@@ -121,8 +120,6 @@ repos:
121120
"--ignore=E731",
122121
# indentation contains tabs (sorry, I like tabs)
123122
"--ignore=W191",
124-
# for streamlit application, this has to be ignored
125-
"--ignore=F841",
126123
# E and W: pycodestyle, standard PEP8 errors and pycodestyle warnings.
127124
# F: pyflakes warnings (e.g., unused variables, undefined names).,
128125
# B: flake8-bugbear (useful best practices).
@@ -157,6 +154,13 @@ repos:
157154
args: ["--baseline", ".secrets.baseline"]
158155
exclude: package.lock.json
159156
###############################################################################
157+
# GITHUB ACTIONS
158+
###############################################################################
159+
- repo: https://github.com/rhysd/actionlint
160+
rev: v1.7.7
161+
hooks:
162+
- id: actionlint
163+
###############################################################################
160164
# SPELLING
161165
###############################################################################
162166
- repo: https://github.com/crate-ci/typos
@@ -165,3 +169,14 @@ repos:
165169
- id: typos
166170
args: ["--force-exclude"]
167171
###############################################################################
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

Comments
 (0)