forked from Github-Mirrors/canaille
chore: use 'uv-venv-lock-runner' as the default tox-uv runner
This commit is contained in:
parent
6df18de6e7
commit
adafa43ddc
1 changed files with 3 additions and 0 deletions
|
@ -199,12 +199,15 @@ env_list = [
|
||||||
# Needed until zxcvbn supports Python 3.13
|
# Needed until zxcvbn supports Python 3.13
|
||||||
# https://github.com/fief-dev/zxcvbn-rs-py/issues/2
|
# https://github.com/fief-dev/zxcvbn-rs-py/issues/2
|
||||||
set_env = {PYO3_USE_ABI3_FORWARD_COMPATIBILITY = "1"}
|
set_env = {PYO3_USE_ABI3_FORWARD_COMPATIBILITY = "1"}
|
||||||
|
runner = "uv-venv-lock-runner"
|
||||||
commands = [
|
commands = [
|
||||||
["pytest", "--showlocals", "--full-trace", "{posargs}"],
|
["pytest", "--showlocals", "--full-trace", "{posargs}"],
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.tox.env.style]
|
[tool.tox.env.style]
|
||||||
|
skip_install = true
|
||||||
deps = ["pre-commit-uv", "pre-commit<4"]
|
deps = ["pre-commit-uv", "pre-commit<4"]
|
||||||
|
runner = "uv-venv-runner"
|
||||||
commands = [
|
commands = [
|
||||||
["pre-commit", "run", "--all-files", "--show-diff-on-failure"],
|
["pre-commit", "run", "--all-files", "--show-diff-on-failure"],
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue