Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
Add an option to poetry install
to install only dev dependencies, e.g. poetry install --dev-only
.
Use Case:
Being able to quickly install only dev dependencies in a Continuous Integration environment to run basic quality checks as fast as possible.
As a developer, I run a series of quick checks on my code, like pylint, flake, black, and mypy, both locally and in a CI environment. Locally, those tools can be installed by running poetry install
together with the rest of the package's dependencies.
In a CI environment I would like to run those tests as quickly as possible to minimize the reponse time of the CI pipeline in the detection of problem in the code. Making a full install of all dependencies could be time consuming for certain projects.
Adding an option to install dev dependencies only will simplify the scripts that run those first stages in the CI pipeline.
Activity