feat(preset): add '--all-extras' flag to poetry install command
This commit is contained in:
@@ -6,7 +6,7 @@ variables.python_poetry = "{{ 'pyproject.toml' | read | get('build-system.build-
|
|||||||
[presets.python.tasks.setup.poetry]
|
[presets.python.tasks.setup.poetry]
|
||||||
conditions = ["{{ python_poetry }}"]
|
conditions = ["{{ python_poetry }}"]
|
||||||
variables.python_version = "{{ 'pyproject.toml' | read | get('project.requires-python') | search('(\\d+.\\d+)') }}"
|
variables.python_version = "{{ 'pyproject.toml' | read | get('project.requires-python') | search('(\\d+.\\d+)') }}"
|
||||||
commands = ["poetry env use {{ python_version }}", "poetry install"]
|
commands = ["poetry env use {{ python_version }}", "poetry install --all-extras"]
|
||||||
|
|
||||||
# playwright
|
# playwright
|
||||||
[presets.python.tasks.setup.playwright]
|
[presets.python.tasks.setup.playwright]
|
||||||
|
|||||||
Reference in New Issue
Block a user