diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index b71169bb..49ea6fc5 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -210,3 +210,11 @@ types: [text] stages: [pre-commit, pre-push, manual] minimum_pre_commit_version: 3.2.0 +- id: forbid-articles + name: forbid articles + description: forbid articles (a,an,the). + entry: forbid-articles + language: python + types: [text] + stages: [pre-commit, pre-push, manual] + minimum_pre_commit_version: 3.2.0 diff --git a/setup.cfg b/setup.cfg index 3b7e5eec..1a47e6b4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -63,6 +63,7 @@ console_scripts = requirements-txt-fixer = pre_commit_hooks.requirements_txt_fixer:main sort-simple-yaml = pre_commit_hooks.sort_simple_yaml:main trailing-whitespace-fixer = pre_commit_hooks.trailing_whitespace_fixer:main + forbid-articles = pre_commit_hooks.forbid_articles_in_test_filenames:test_file_name [bdist_wheel] universal = True