nocommit pre-hook

This commit is contained in:
Manu Raghavan 2020-06-09 20:32:40 +00:00
parent f0bf512dbb
commit d3cb871783
5 changed files with 33 additions and 1 deletions

View file

@ -161,6 +161,12 @@
entry: name-tests-test
language: python
files: (^|/)tests/.+\.py$
- id: no-commit-keywords
name: "Don't commit when nocommit keyword is present"
entry: no-commit-keywords
language: script
always_run: true
types: [text]
- id: no-commit-to-branch
name: "Don't commit to branch"
entry: no-commit-to-branch