Skip to content

Conversation

@amyreese
Copy link
Member

Summary

Updates the fix title for RUF102 to either specify which rule code to remove, or clarify
that the entire suppression comment should be removed.

Test Plan

Updated test snapshots.

@amyreese amyreese changed the base branch from main to amy/group-diagnostics December 19, 2025 23:09
@amyreese amyreese added fixes Related to suggested fixes for violations suppression Related to supression of violations e.g. noqa labels Dec 19, 2025
@amyreese amyreese requested review from MichaReiser and ntBre and removed request for ntBre December 19, 2025 23:11
@astral-sh-bot
Copy link

astral-sh-bot bot commented Dec 19, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

| -----
|
help: Remove the rule code
help: Remove the suppression comment
Copy link
Member

Choose a reason for hiding this comment

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

Does RUF100 need a similar treatment?

Copy link
Member Author

Choose a reason for hiding this comment

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

That was already addressed for RUF100 in a previous PR.

@amyreese amyreese force-pushed the amy/group-diagnostics branch from 0f38751 to e067aa0 Compare January 6, 2026 02:23
@amyreese amyreese force-pushed the amy/invalid-rule-code-message branch from effaf2a to ecb9620 Compare January 6, 2026 02:23
Base automatically changed from amy/group-diagnostics to main January 7, 2026 02:42
@amyreese amyreese force-pushed the amy/invalid-rule-code-message branch from ecb9620 to 157e5a9 Compare January 7, 2026 19:38
@amyreese amyreese merged commit 805503c into main Jan 8, 2026
40 checks passed
@amyreese amyreese deleted the amy/invalid-rule-code-message branch January 8, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fixes Related to suggested fixes for violations suppression Related to supression of violations e.g. noqa

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants