tox: PYTHONWARNDEFAULTENCODING
should only be applied to tests
#11157
Labels
type: infrastructure
improvement to development/releases/CI structure
Currently
PYTHONWARNDEFAULTENCODING
is set for all tox environments. But most tools like pre-commit, mypy, sphinx are not clean of this warning, it causes noise when runningtox
, in some cases a lot of noise.I tried fixing it myself but couldn't figure out how to get tox to only set an envvar only for the py* environments. Hopefully someone who knows more about tox can figure it out.
The text was updated successfully, but these errors were encountered: