wntrblm / nox

Flexible test automation for Python
https://nox.thea.codes
Apache License 2.0
1.31k stars 151 forks source link

fix: don't error if not installing to passthrough #809

Closed henryiii closed 6 months ago

henryiii commented 6 months ago

If you have a passthrough environment and have passed --no-install, don't error because there's an install command that's not going to do anything.

Fixes #739. This fixes the underlying problem in #693 - that was asking for a way to detect run("pip", "install", ...) precisely because this bug kept .install(...) from being usable.