summaryrefslogtreecommitdiffstats
path: root/testing/resources/conda_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/conda_hooks_repo/.pre-commit-hooks.yaml
parentInitial commit. (diff)
downloadpre-commit-63fad53303381388673073de580a32088a4ef0fe.tar.xz
pre-commit-63fad53303381388673073de580a32088a4ef0fe.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/conda_hooks_repo/.pre-commit-hooks.yaml')
-rw-r--r--testing/resources/conda_hooks_repo/.pre-commit-hooks.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/resources/conda_hooks_repo/.pre-commit-hooks.yaml b/testing/resources/conda_hooks_repo/.pre-commit-hooks.yaml
new file mode 100644
index 0000000..a0d274c
--- /dev/null
+++ b/testing/resources/conda_hooks_repo/.pre-commit-hooks.yaml
@@ -0,0 +1,10 @@
+- id: sys-exec
+ name: sys-exec
+ entry: python -c 'import os; import sys; print(sys.executable.split(os.path.sep)[-2]) if os.name == "nt" else print(sys.executable.split(os.path.sep)[-3])'
+ language: conda
+ files: \.py$
+- id: additional-deps
+ name: additional-deps
+ entry: python
+ language: conda
+ files: \.py$