From ebb6ce479b6fe729d4d443a5f5fc1b39c48dc39b Mon Sep 17 00:00:00 2001 From: Marco Gorelli Date: Wed, 7 Oct 2020 17:28:35 +0100 Subject: [PATCH] use-python-language-in-pip-to-conda --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 33afe8d443457..4fcb8b41fedd6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,10 +39,11 @@ repos: - id: pip_to_conda name: Generate pip dependency from conda description: This hook checks if the conda environment.yml and requirements-dev.txt are equal - language: system + language: python entry: python -m scripts.generate_pip_deps_from_conda files: ^(environment.yml|requirements-dev.txt)$ pass_filenames: false + additional_dependencies: [pyyaml] - repo: https://github.com/asottile/yesqa rev: v1.2.2 hooks: