Skip to content

Commit 67f8193

Browse files
committed
Add forbid-words-in-filenames hooks
1 parent cd1d365 commit 67f8193

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ repos:
4040
hooks:
4141
- id: mypy
4242

43-
- repo: local
44-
hooks:
45-
- id: forbid-words-in-filenames
46-
name: Check for forbidden words in filenames
47-
entry: python3 pre_commit_hooks/forbid_words_in_filenames.py
48-
language: system
49-
types: [file]
43+
- repo: https://github.com/KatanicU/pre-commit-hooks_fork
44+
rev: v2.3.10
45+
hooks:
46+
- id: check-yaml
47+
- id: end-of-file-fixer
48+
- id: trailing-whitespace
49+
- id: name-tests-test
50+
- id: forbid-words-in-filenames

0 commit comments

Comments
 (0)