Add nocommit hook

This commit is contained in:
Manu Raghavan 2020-06-10 15:27:06 +05:30
parent d3cb871783
commit 56eb16f2f9
4 changed files with 50 additions and 19 deletions

View file

@ -164,9 +164,9 @@
- id: no-commit-keywords
name: "Don't commit when nocommit keyword is present"
entry: no-commit-keywords
language: script
always_run: true
language: python
types: [text]
stages: [commit, push, manual]
- id: no-commit-to-branch
name: "Don't commit to branch"
entry: no-commit-to-branch