diff options
author | Clark Boylan <clark.boylan@gmail.com> | 2022-12-29 10:39:31 -0800 |
---|---|---|
committer | Clark Boylan <clark.boylan@gmail.com> | 2022-12-29 10:39:31 -0800 |
commit | 7db24fc7f4377d8bca4af1b99c11c056d84d8380 (patch) | |
tree | 15512b4ef71e610556203e13772462c01948855b /noxfile.py | |
parent | 99fd006a5395432e69c9363921aacd9b17774b2c (diff) | |
download | zuul-7db24fc7f4377d8bca4af1b99c11c056d84d8380.tar.gz |
Pass session.posargs to nox venv session's run call
It is an error to pass no arguments to session.run() and using
session.posargs preserves previous tox behavior.
Change-Id: I7393b400059313528774ef477c4a96c71c04fe7e
Diffstat (limited to 'noxfile.py')
-rw-r--r-- | noxfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noxfile.py b/noxfile.py index 80bab5922..4f582f7ae 100644 --- a/noxfile.py +++ b/noxfile.py @@ -111,7 +111,7 @@ def venv(session): session.install('-r', 'requirements.txt', '-r', 'test-requirements.txt') session.install('-e', '.') - session.run() + session.run(*session.posargs) @nox.session(python='3') |