You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would enable notifying sessions with multiple interpreters. Today, running nox against the following noxfile.py will only run coverage and tests under Python 3.10. I feel like it should run tests under all interpreters.
# Locate the sessions in the list of all sessions.sessions: list[SessionRunner] = []
forsinself._all_sessions:
ifs==sessionors.name==sessionorsessionins.signatures: # noqa: PLR1714ifposargsisnotNone:
s.posargs=list(posargs)
sessions.append(s)
# Place sessions at the end of the queue.ifsessions:
self._queue.extend(sessions)
returnTrue
Describe alternatives you've considered
Today, I can chain those sessions using nox.options.sessions, but that forces me to declare them as default sessions.
Anything else?
If this gets approved, could I do the PR myself? It would be my first contribution ever.
The text was updated successfully, but these errors were encountered:
How would this feature be useful?
This would enable notifying sessions with multiple interpreters. Today, running
nox
against the followingnoxfile.py
will only runcoverage
andtests
under Python 3.10. I feel like it should runtests
under all interpreters.Describe the solution you'd like
I would update
nox.manifest.Manifest.notify
with the following code to catch all matching sessions.nox/nox/manifest.py
Lines 400 to 407 in 6f3a459
Describe alternatives you've considered
Today, I can chain those sessions using
nox.options.sessions
, but that forces me to declare them as default sessions.Anything else?
If this gets approved, could I do the PR myself? It would be my first contribution ever.
The text was updated successfully, but these errors were encountered: