Skip to content

Commit

Permalink
fix: Don't attempt to install project inside virtualenv (#1074)
Browse files Browse the repository at this point in the history
### Motivation

Avoids the following:

```
Installing the current project: […]
Warning: The current project could not be installed: No file/folder found for package […]
If you do not want to install the current project use --no-root.
If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.
In a future version of Poetry this warning will become an error!
```

### Verification

N/A
  • Loading branch information
l0b0 authored Sep 18, 2024
1 parent 68c86fc commit dd989d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/format-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install
run: |
pip install poetry
poetry install
poetry install --no-root
- name: Format
run: |
poetry run pre-commit run --all-files
Expand Down

0 comments on commit dd989d0

Please sign in to comment.