From 68689bf9660110ab1368d55b2b6a66dbb3e811cf Mon Sep 17 00:00:00 2001 From: Nicholas Junge Date: Thu, 7 Dec 2023 10:41:34 +0100 Subject: [PATCH] Fix `pre-commit` GitHub Actions job (#1708) For some reason, editable pip installs are now broken, which means that they will break the pre-commit workflow due to the `pip install -e .` instruction. Since the normal install is unaffected, we can just drop the `-e` switch. It does not matter which mode is used, since the environment is only used for linting. --- .github/workflows/pre-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index f78a90d874..8b3442c583 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -25,7 +25,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e ".[dev]" + pip install ".[dev]" - name: Cache pre-commit tools uses: actions/cache@v3 with: