summaryrefslogtreecommitdiffstats
path: root/testing/resources/docker_hooks_repo/.pre-commit-hooks.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-03-24 21:59:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-03-24 21:59:15 +0000
commit63fad53303381388673073de580a32088a4ef0fe (patch)
treea2c5c329ee5e79a220fac7e079283235fecc0cda /testing/resources/docker_hooks_repo/.pre-commit-hooks.yaml
parentInitial commit. (diff)
downloadpre-commit-39afacd55039f430bde0818a76282e3979e47595.tar.xz
pre-commit-39afacd55039f430bde0818a76282e3979e47595.zip
Adding upstream version 2.2.0.upstream/2.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/resources/docker_hooks_repo/.pre-commit-hooks.yaml')
-rw-r--r--testing/resources/docker_hooks_repo/.pre-commit-hooks.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/resources/docker_hooks_repo/.pre-commit-hooks.yaml b/testing/resources/docker_hooks_repo/.pre-commit-hooks.yaml
new file mode 100644
index 0000000..5295739
--- /dev/null
+++ b/testing/resources/docker_hooks_repo/.pre-commit-hooks.yaml
@@ -0,0 +1,17 @@
+- id: docker-hook
+ name: Docker test hook
+ entry: echo
+ language: docker
+ files: \.txt$
+
+- id: docker-hook-arg
+ name: Docker test hook
+ entry: echo -n
+ language: docker
+ files: \.txt$
+
+- id: docker-hook-failing
+ name: Docker test hook with nonzero exit code
+ entry: bork
+ language: docker
+ files: \.txt$