Как я могу передать несколько команд tox?
Это моя попытка:
[tox]
install_command =
python -m pip install --no-deps --install-option='--parallel 8' .
python -m pip install {opts} {packages}
Предыдущая конфигурация выдает эту ошибку:
Traceback (most recent call last):
File "/usr/bin/tox", line 11, in <module>
load_entry_point('tox==3.14.5', 'console_scripts', 'tox')()
File "/usr/lib/python3.8/site-packages/tox/session/__init__.py", line 44, in cmdline
main(args)
File "/usr/lib/python3.8/site-packages/tox/session/__init__.py", line 64, in main
config = load_config(args)
File "/usr/lib/python3.8/site-packages/tox/session/__init__.py", line 80, in load_config
config = parseconfig(args)
File "/usr/lib/python3.8/site-packages/tox/config/__init__.py", line 269, in parseconfig
ParseIni(config, config_file, content)
File "/usr/lib/python3.8/site-packages/tox/config/__init__.py", line 1149, in __init__
raise tox.exception.ConfigError(
tox.exception.ConfigError: ConfigError: py27 failed with ConfigError: 'install_command' must contain '{packages}' substitution at Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tox/config/__init__.py", line 1125, in run
results[name] = cur_self.make_envconfig(name, section, subs, config)
File "/usr/lib/python3.8/site-packages/tox/config/__init__.py", line 1289, in make_envconfig
res = env_attr.postprocess(testenv_config=tc, value=res)
File "/usr/lib/python3.8/site-packages/tox/config/__init__.py", line 241, in postprocess