Skip to content

Commit

Permalink
Propertly run the env with the right python...
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Dec 23, 2023
1 parent 03dd086 commit 8315708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def session(default=True, python=LATEST, **kwargs): # noqa: D103
def _session(fn):
if default:
nox.options.sessions.append(kwargs.get("name", fn.__name__))
return nox.session(**kwargs)(fn)
return nox.session(python=python, **kwargs)(fn)

return _session

Expand Down

0 comments on commit 8315708

Please sign in to comment.