Skip to content

nox

Nox CLI.

Functions⚓︎

noxfile ⚓︎

noxfile(ctx, *, session='')

Run nox from the local noxfile.

Source code in calcipy/tasks/nox.py
@task(
    default=True,
    help={
        'session': 'Optional session to run',
    },
)
def noxfile(ctx: Context, *, session: str = '') -> None:
    """Run nox from the local noxfile."""
    cli_args = ['--session', session] if session else []
    run(ctx, f'{python_dir()}/nox --error-on-missing-interpreters {" ".join(cli_args)}')