Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve the way settings are managed #1272
Pull Request Check List
This PR is a refactoring and improvement of the configuration part of Poetry which introduces the following changes.
Local, per-project settings
poetry config --local virtualenvs.in-project true
Configuration via environment variables
Poetry can now be configured using environment variables. This is particularly useful in CI environments and avoids having to create configuration files.
The environment variables must be prefixed by
This also works for secret settings, like credentials: