Skip to content

Format the docs code blocks with current ruff - #1804

Closed
MaxGhenis wants to merge 1 commit into
mainfrom
docs-ruff-format
Closed

Format the docs code blocks with current ruff#1804
MaxGhenis wants to merge 1 commit into
mainfrom
docs-ruff-format

Conversation

@MaxGhenis

Copy link
Copy Markdown
Collaborator

Why

Lint fails on main. CI runs uvx ruff format --check ., which resolves the current ruff release, while contributors format against the version pinned in the dev extras. Four docs pages have drifted out of format, so the check fails on main and on every branch cut from it — including unrelated PRs.

What changed

uvx ruff format ., nothing else. Only the Python blocks inside these four pages; no prose or logic changes.

Blocks #1803, which is otherwise green.

🤖 Generated with Claude Code

CI runs `uvx ruff format --check .`, which resolves the current ruff release
while contributors format against the pinned dev version. Four docs pages have
drifted out of format, so Lint fails on main and on every branch cut from it.

No prose or logic changes; only the Python blocks inside these pages.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Collaborator Author

Superseded: main is now fully ruff-format clean (1,199 files, including these four docs pages, verified against current origin/main with the same uvx ruff invocation the Lint job uses), so this no longer has anything to do. The Lint failures that motivated it clear on any branch updated past current main.

@MaxGhenis MaxGhenis closed this Aug 12, 2026
@MaxGhenis
MaxGhenis deleted the docs-ruff-format branch August 12, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant