From e25dda8e7f3feaa8fc40f6d5bcfcf79c3daa46c1 Mon Sep 17 00:00:00 2001 From: Pietro Bolcato Date: Fri, 29 Sep 2023 17:33:31 +0000 Subject: [PATCH] Update pre-commit initial start --- .devcontainer/scripts/post_create.sh | 3 +-- README.md | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/scripts/post_create.sh b/.devcontainer/scripts/post_create.sh index 7aea665..07ef7cf 100644 --- a/.devcontainer/scripts/post_create.sh +++ b/.devcontainer/scripts/post_create.sh @@ -11,5 +11,4 @@ conda env create -n dev -f envs/dev.yaml conda init # setup pre-commit -pre-commit install --install-hooks -pre-commit run --all-files \ No newline at end of file +pre-commit install --install-hooks \ No newline at end of file diff --git a/README.md b/README.md index 2e48019..1a12192 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,9 @@ To perform linting and formatting, run from the root of the repo: pre-commit run --all-files ``` +The first execution might take a bit longer, as it will set up the virtual environment +where the linter and the formatter will run. + ## Server The server has a single endpoint that receives `POST` requests.