From 098448668b650b922fc8efa268f2dd34a2efb3bb Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Fri, 11 Sep 2020 15:43:14 +0200 Subject: [PATCH] add pre-commit to env --- envs/environment.docs.yaml | 1 + envs/environment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/envs/environment.docs.yaml b/envs/environment.docs.yaml index 11597d92..fc141a02 100755 --- a/envs/environment.docs.yaml +++ b/envs/environment.docs.yaml @@ -9,6 +9,7 @@ dependencies: - pip - pypsa>=0.17.1 - atlite=0.0.3 + - pre-commit # Dependencies of the workflow itself - scikit-learn diff --git a/envs/environment.yaml b/envs/environment.yaml index ce49420f..fb4019a3 100644 --- a/envs/environment.yaml +++ b/envs/environment.yaml @@ -11,6 +11,7 @@ channels: dependencies: - python - pip + - pre-commit - pypsa>=0.17.1 - atlite=0.0.3 @@ -36,8 +37,7 @@ dependencies: - progressbar2 - pyyaml>=5.1.0 - # Include ipython so that one does not inadvertently drop out of the conda - # environment by calling ipython + # Keep in conda environment when calling ipython - ipython # GIS dependencies: