mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 03:56:54 +00:00
Add check_path hook
Adds a hook which can be used for preventing commits to paths specified by regex.
This commit is contained in:
parent
f0bf512dbb
commit
ade67be453
5 changed files with 96 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ console_scripts =
|
|||
check-docstring-first = pre_commit_hooks.check_docstring_first:main
|
||||
check-executables-have-shebangs = pre_commit_hooks.check_executables_have_shebangs:main
|
||||
check-json = pre_commit_hooks.check_json:main
|
||||
check-path-edits = pre_commit_hooks.check_path_edits:main
|
||||
check-merge-conflict = pre_commit_hooks.check_merge_conflict:main
|
||||
check-symlinks = pre_commit_hooks.check_symlinks:main
|
||||
check-toml = pre_commit_hooks.check_toml:main
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue