Open MicaelJarniac opened 1 year ago
# https://github.com/python-jsonschema/referencing/blob/c1a9ce8693d67b7b79a691e1bd0c4df1b73f617f/noxfile.py#L11-L20 import nox nox.options.sessions = [] def session(default=True, **kwargs): def _session(fn): if default: nox.options.sessions.append(kwargs.get("name", fn.__name__)) return nox.session(**kwargs)(fn) return _session