INNER CODE UNIT · Python

docs_serve

redis/fastapi-redis-sdk · noxfile.py:137

def docs_serve(session: nox.Session) -> None:
    """Serve the documentation site locally with live reload."""
    uv_sync(session, "--only-group", "docs")
    session.run("mkdocs", "serve", *session.posargs)


# ---------------------------------------------------------------------------
# Auto-fix helpers (not run by default or CI)
# ---------------------------------------------------------------------------
@nox.session(python=PYTHON_DEFAULT, default=False)
def fix(session: nox.Session) -> None:
    """Auto-fix lint and format issues."""
    uv_sync(session, "--only-group", "lint")
    session.run("ruff", "check", "--fix", *SOURCES)
    session.run("ruff", "format", *SOURCES)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…