tox plugin that makes tox use `pyenv which` to find python executables
Overall
score
98%
Build a tox plugin that adds custom configuration options to control test verbosity. The plugin should allow users to configure verbosity through both command-line arguments and tox.ini configuration, with the command-line taking precedence when both are specified.
Your plugin must implement a hook that extends tox's argument parser and configuration system to add verbosity control.
Add a command-line flag --verbose-output (short form: -V) that enables verbose test output. By default, verbose output should be disabled.
Add a configuration attribute named verbose_output that can be set in the [testenv] section of tox.ini. This attribute should:
--verbose-output on the command line enables verbose mode regardless of tox.ini settings @testverbose_output = true is set in tox.ini and no CLI flag is provided, verbose mode is enabled @test@generates
from tox import hookimpl
@hookimpl
def tox_addoption(parser):
"""Add command line and configuration options for verbosity control."""
passProvides the plugin system and configuration framework.
Install with Tessl CLI
npx tessl i tessl/pypi-tox-pyenvdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10