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, set nox.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
Current Behavior
Setting
nox.options.sessionsmakes '--tags' not work.Expected Behavior
Just like
--sessionsand--keywords,--tagsshould clear the relatednox.optionsvalues.Steps To Reproduce
lint, setnox.options.sessions = ('flake8', )Environment
Anything else?
No response