CI Perf Lint

nox-without-uv-backend

What it flags

Flags repositories and CI jobs that use nox without the --uv flag or nox.options.uv = True.

nox can delegate virtualenv creation and package installation to uv with one flag or config line, speeding up session setup significantly.

Why it matters

nox’s default backend uses virtualenv and pip, which are slower than uv equivalents. Passing --uv or setting nox.options.uv = True transparently swaps in uv, accelerating all session environment creation and dependency installation.

Current heuristic

The rule looks for:

The rule intentionally skips:

When to ignore it

Ignore this finding when:

Suggested verification

Sources