feat: update default presets

This commit is contained in:
2026-09-15 17:21:23 +03:00
parent 06c3bc4e18
commit 5cf71fcae1
10 changed files with 58 additions and 18 deletions
@@ -8,6 +8,11 @@ conditions = ["{{ python_poetry }}"]
variables.python_version = "{{ 'pyproject.toml' | read | get('project.requires-python') | search('(\\d+.\\d+)') }}"
commands = ["poetry env use {{ python_version }}", "poetry install"]
# playwright
[presets.python.tasks.setup.playwright]
conditions = ["{{ '.venv/bin/playwright' | file }}"]
commands = [".venv/bin/playwright install chromium --with-deps --only-shell"]
# build
[presets.python.tasks.build.poetry]
conditions = ["{{ python_poetry }}"]