mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2025-11-27 12:39:53 +01:00
Fix for commands_pre and commands_post for tox 4
This commit is contained in:
committed by
Miro Hrončok
parent
a72e7ba713
commit
ad6bcf5c19
@@ -96,7 +96,7 @@ def tox_add_env_config(env_conf, state):
|
||||
# For print-deps-to and print-extras-to, use empty
|
||||
# list of commands so the tox does nothing.
|
||||
if opt.print_deps_to or opt.print_extras_to:
|
||||
empty_commands = MemoryLoader(commands=[])
|
||||
empty_commands = MemoryLoader(commands=[], commands_pre=[], commands_post=[])
|
||||
env_conf.loaders.insert(0, empty_commands)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user