Closed edgarrmondragon closed 8 months ago
Often times it's easier to set an environment variable than passing the same argument to multiple commands.
A new environment variable that's used as the default value of --default-venv-backend when present.
--default-venv-backend
Some possible names: NOX_DEFAULT_VENV_BACKEND or NOXDEFAULTVENVBACKEND
NOX_DEFAULT_VENV_BACKEND
NOXDEFAULTVENVBACKEND
Something like
# noxfile.py import os import nox nox.options.default_venv_backend = os.environ.get("NOX_DEFAULT_VENV_BACKEND", "virtualenv")
If this accepted, I can start working on a PR :)
NOX_DEFAULT_VENV_BACKEND sounds good to me.
How would this feature be useful?
Often times it's easier to set an environment variable than passing the same argument to multiple commands.
Describe the solution you'd like
A new environment variable that's used as the default value of
--default-venv-backend
when present.Some possible names:
NOX_DEFAULT_VENV_BACKEND
orNOXDEFAULTVENVBACKEND
Describe alternatives you've considered
Something like
Anything else?
If this accepted, I can start working on a PR :)