Skip to content

website: ruff-format the Python snippet in agents.md - #3427

Merged
vpetersson merged 1 commit into
masterfrom
fix/agents-md-ruff-format
Nov 2, 2026
Merged

vpetersson merged 1 commit into
masterfrom
fix/agents-md-ruff-format

Conversation

@vpetersson-bot

Copy link
Copy Markdown
Contributor

ruff format --check now formats Python code blocks in Markdown, and the snippet in website/content/agents.md (from #3426) doesn't match the repo's quote-style = "single". Master's lint run didn't pick it up because it ran before #3426 merged, but every open PR that triggers the Python lint workflow now fails on it, e.g. #3423.

This PR applies ruff format (0.17.1, the version pinned in uv.lock) to the snippet. The only changes are quote style and a second blank line before def. ruff format --check . and ruff check . both pass.

🤖 Generated with Claude Code

Copilot AI lite review requested due to automatic review settings October 28, 2026 03:02
@vpetersson-bot
vpetersson-bot requested a review from a team as a code owner October 28, 2026 03:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
@vpetersson-bot
vpetersson-bot force-pushed the fix/agents-md-ruff-format branch from 17ce68e to 58576db Compare November 2, 2026 16:52
@sonarqubecloud

sonarqubecloud Bot commented Nov 2, 2026

Copy link
Copy Markdown

@vpetersson
vpetersson merged commit 77d2c39 into master Nov 2, 2026
4 checks passed
vpetersson-bot added a commit that referenced this pull request Nov 2, 2026
Picks up 77d2c39 (#3427), which ruff-formats the Python snippet in
website/content/agents.md. That file is untouched by this PR, but the
branch predates the fix, so `ruff format --check .` failed in CI on a
file this change never modified.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
vpetersson-bot added a commit that referenced this pull request Nov 2, 2026
Picks up 77d2c39 (#3427), which ruff-formats the Python snippet in
website/content/agents.md. That file is untouched by this PR, but the
branch predates the fix, so `ruff format --check .` failed in CI on a
file this change never modified.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.

3 participants