formelsammlung.tox_env_exe_runner module¶
-
formelsammlung.tox_env_exe_runner.
tox_env_exe_runner
(tool, envs, tool_args=None)[source]¶ Call given
tool
from giventox
env considering OS.
-
formelsammlung.tox_env_exe_runner.
cli_caller
()[source]¶ Warp
tox_env_exe_runner
to be callable by cli.Script to call executables in tox envs considering OS.
The script takes two mandatory arguments:
The executable to call like e.g. pylint.
A string with comma separated tox envs to check for the executable. The envs are checked in given order.
All other arguments after are passed to the tool on call.
- Return type
- Returns
Exit code from
tox_env_exe_runner