chore: use 'uv-venv-lock-runner' as the default tox-uv runner

This commit is contained in:
Éloi Rivard 2024-11-01 14:18:10 +01:00
parent 6df18de6e7
commit adafa43ddc
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184

View file

@ -199,12 +199,15 @@ env_list = [
# Needed until zxcvbn supports Python 3.13
# https://github.com/fief-dev/zxcvbn-rs-py/issues/2
set_env = {PYO3_USE_ABI3_FORWARD_COMPATIBILITY = "1"}
runner = "uv-venv-lock-runner"
commands = [
["pytest", "--showlocals", "--full-trace", "{posargs}"],
]
[tool.tox.env.style]
skip_install = true
deps = ["pre-commit-uv", "pre-commit<4"]
runner = "uv-venv-runner"
commands = [
["pre-commit", "run", "--all-files", "--show-diff-on-failure"],
]