@@ -5,7 +5,7 @@ variables.python_poetry = "{{ 'pyproject.toml' | read | get('build-system.build-
|
||||
# setup
|
||||
[presets.python.tasks.setup.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 --all-extras"]
|
||||
|
||||
# playwright
|
||||
|
||||
Reference in New Issue
Block a user