Add option to allow installing deps from custom Poetry groups

This commit is contained in:
Obeida Shamoun
2022-09-15 13:17:45 +02:00
parent c435f1af69
commit d0efbd06b3
3 changed files with 54 additions and 11 deletions

View File

@@ -201,6 +201,7 @@ configuration section.
| `install_dev_deps` | Boolean | False | Whether all of the Poetry dev-dependencies should be installed to the test environment. |
| `install_project_deps` | Boolean | True | Whether all of the Poetry primary dependencies for the project package should be installed to the test environment. |
| `require_poetry` | Boolean | False | Whether Tox should be forced to fail if the plugin cannot import Poetry locally. If `False` then the plugin will be skipped for the test environment if Poetry cannot be imported. If `True` then the plugin will force the environment to error and the Tox run to fail. |
| `poetry_dep_groups` | List | `[]` | Names of Poetry dependency groups specified in `pyproject.toml` to install to the test environment. |
### Runtime Options