-
-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Labels
Description
Current Behavior
Setting nox.options.sessions
makes '--tags' not work.
Expected Behavior
Just like --sessions
and --keywords
, --tags
should clear the related nox.options
values.
Steps To Reproduce
- With two sessions (pylint and flake8), both with tag
lint
, setnox.options.sessions = ('flake8', )
nox.options.sessions = ('flake8', )
@nox.session(tags=['lint'])
def pylint(session: nox.Session) :
pass
@nox.session(tags=['lint'])
def flake8(session: nox.Session) :
pass
- Run nox -lt lint, pylint is not selected even though it matches the tag
- pylint -> Run Pylint
* flake8 -> Run Flake8
Environment
- OS: Fedora 37
- Python: 3.11
- Nox: 2022.11.21
Anything else?
No response