add forbid-submodules hook

This commit is contained in:
Anthony Sottile 2022-10-04 15:56:38 -04:00
parent 927380bee2
commit a9b6a7e7fa
2 changed files with 12 additions and 0 deletions

View file

@ -156,6 +156,12 @@
language: python
entry: forbid-new-submodules
types: [directory]
- id: forbid-submodules
name: forbid submodules
description: forbids any submodules in the repository
language: fail
entry: 'submodules are not allowed in this repository:'
types: [directory]
- id: mixed-line-ending
name: mixed line ending
description: replaces or checks mixed line ending.