tox list
can consume ValueError
s raised during config discovery
#3030
Labels
help:wanted
Issues that have been acknowledged, a solution determined and a PR might likely be accepted.
Issue
when running
tox list
, the config file discovery code intox.config.source.discover
may semi-silently consumeValueError
exceptions that would be useful to report to the user. i say "semi-silently" because no traceback is displayed, but it does print a missing config file warning. my repro is on windows, but i'd expect it's not dependent on OS.tox run
will report thattomllib.TOMLDecodeError: Unescaped '\' in a string
is raised for the provided repro case.tomllib.TOMLDecodeError
does derive fromValueError
.Environment
Provide at least:
pip list
of the host Python wheretox
is installed:Output of running tox
Provide the output of
tox -rvv list
:Minimal example
this pyproject.toml will repro (no other files are necessary):
The text was updated successfully, but these errors were encountered: