nox icon indicating copy to clipboard operation
nox copied to clipboard

Enhance environment variables passing

Open franekmagiera opened this issue 1 year ago • 1 comments

Closes #253

Introduced a new parameter include_invocation_env_vars to the session.run related methods. It can be a boolean or an iterable of vars that should be included from the nox invocation environment. Some env vars (inspired by tox are always passed in to ensure proper functionality of stdlib functions and pip.

franekmagiera avatar Sep 18 '22 18:09 franekmagiera

Thanks for doing the review! I agree @crwilcox's proposal. I think it addresses the original issue sufficiently, is clearer and easier to understand. This should be ready for another look.

franekmagiera avatar Oct 13 '22 21:10 franekmagiera