mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-21 08:29:01 -05:00
Support for conda as a language
This commit is contained in:
committed by
Anthony Sottile
parent
6850c27dd6
commit
4ff23b4eab
@@ -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$
|
||||
@@ -0,0 +1,6 @@
|
||||
channels:
|
||||
- conda-forge
|
||||
- defaults
|
||||
dependencies:
|
||||
- python
|
||||
- pip
|
||||
Reference in New Issue
Block a user