Skip to content

Commit

Permalink
Fix pre-commit GitHub Actions job (#1708)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nicholasjng authored Dec 7, 2023
1 parent 1e96bb0 commit 68689bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 68689bf

Please sign in to comment.