summaryrefslogtreecommitdiffstats
path: root/.pre-commit-hooks.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-20 17:33:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-20 17:33:33 +0000
commitc8fc72f1edcbd73ac385910f091fae53437977e0 (patch)
treefb574df36cbb0324f2fac74891c73bf47bcccc41 /.pre-commit-hooks.yaml
parentReleasing debian version 4.3.0+dfsg-1. (diff)
downloadpre-commit-hooks-c8fc72f1edcbd73ac385910f091fae53437977e0.tar.xz
pre-commit-hooks-c8fc72f1edcbd73ac385910f091fae53437977e0.zip
Merging upstream version 4.4.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.pre-commit-hooks.yaml')
-rw-r--r--.pre-commit-hooks.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml
index 1a6056b..f8523d4 100644
--- a/.pre-commit-hooks.yaml
+++ b/.pre-commit-hooks.yaml
@@ -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.