1
0
mirror of https://github.com/fedora-python/tox-current-env.git synced 2025-11-03 01:42:19 +01:00

Avoid setting the default runner

Setting the default runner to tox's default when `--current-env` is not
used can override another plugin like `tox-uv` which wants to change the
default runner. According to [this
comment](https://github.com/fedora-python/tox-current-env/pull/42#discussion_r1048595612)
the issue that led to the need to set the default runner has been
addressed and that appears to be confirmed by testing.
This commit is contained in:
Will Shanks
2025-03-04 14:10:44 -05:00
parent f3a71af340
commit b73cf22d73

View File

@@ -93,10 +93,6 @@ def tox_add_core_config(core_conf, state):
opt.default_runner = "print-env"
return
# No options used - switch back to the standard runner
# Workaround for: https://github.com/tox-dev/tox/issues/2264
opt.default_runner = "virtualenv"
@impl
def tox_add_env_config(env_conf, state):