Skip to content

Docs: Clarify COM818 bare tuple scope - #27016

Closed
Joosboy wants to merge 3 commits into
astral-sh:mainfrom
Joosboy:docs/18851-com818-scope
Closed

Joosboy wants to merge 3 commits into
astral-sh:mainfrom
Joosboy:docs/18851-com818-scope

Conversation

@Joosboy

@Joosboy Joosboy commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Closes #18851.

Adds a note to the trailing-comma-on-bare-tuple (COM818) rule documentation explaining that it only checks bare tuples ending with a statement-final newline, and refers users to RUF031 for incorrectly parenthesized tuples in subscripts.

@astral-sh-bot
astral-sh-bot Bot requested a review from ntBre July 20, 2026 18:30
@astral-sh-bot

astral-sh-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre

ntBre commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Hi @Joosboy, thanks for all the PRs, but could you please try to limit the number of PRs you have open at one time? It can be a bit overwhelming for us as maintainers to have a flood of PRs, especially relatively low priority documentation PRs. You currently have 6 open PRs (5 when I started this comment!), and it looks like many of them mix in unrelated changes. I will start closing additional PRs until some of these are resolved.

I'd also like to ask you to see our AI Policy, which forbids autonomous contributions. I see that three of your PRs were opened within 1 minute of each other, which strongly suggests LLM/agentic involvement.

@ntBre ntBre added the bot:ai-policy-comment Trigger a bot comment explaining the org AI policy label Jul 20, 2026
@astral-sh-bot

astral-sh-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

We support using AI (i.e., LLMs) while coding. However, AI should not be used to communicate with maintainers.

Please read and follow our AI policy when submitting issues and pull requests.

@astral-sh-bot astral-sh-bot Bot closed this Jul 20, 2026
@Joosboy

Joosboy commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Sorry ntBre will not open any new PR's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:ai-policy-comment Trigger a bot comment explaining the org AI policy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Which bare tuples are in scope for COM818?

2 participants