diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index b71169bb..84a30755 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -210,3 +210,9 @@ types: [text] stages: [pre-commit, pre-push, manual] minimum_pre_commit_version: 3.2.0 +- id: forbid-words-in-filenames + name: Check for forbidden words in filenames + description: Prevents committing files with certain forbidden words in their filenames. + entry: python3 pre_commit_hooks/forbid_words_in_filenames.py + language: system + types: [file]