summaryrefslogtreecommitdiffstats
path: root/testing/resources/conda_hooks_repo/.pre-commit-hooks.yaml
diff options
context:
space:
mode:
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$