diff --git a/noxfile.py b/noxfile.py index e41bf07cf6a..e685f9349e7 100644 --- a/noxfile.py +++ b/noxfile.py @@ -190,7 +190,7 @@ def tag(session: nox.Session): install(session, req="tag") args = list(session.posargs) - # If run without any commands, default to "tag" + # If run without any arguments, default to "tag" if not any(arg.startswith(("hash", "mantag", "new-tags", "tag")) for arg in args): args.append("tag")