mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-03 02:56:52 +00:00
New hook for enforcing branch name
Use a regex to validate the naming convention the branch should follow. If it's not correct, it fails.
This commit is contained in:
parent
ee30c6ada9
commit
86d5ab84cb
4 changed files with 58 additions and 0 deletions
|
|
@ -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
|
||||
enforce-branch-name = pre_commit_hooks.enforce_branch_name:main
|
||||
|
||||
[bdist_wheel]
|
||||
universal = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue