Skip to content

[flake8-bugbear] Make fix unsafe if it deletes comments (B010)#22657

Merged
amyreese merged 2 commits intoastral-sh:mainfrom
chirizxc:B010
Jan 19, 2026
Merged

[flake8-bugbear] Make fix unsafe if it deletes comments (B010)#22657
amyreese merged 2 commits intoastral-sh:mainfrom
chirizxc:B010

Conversation

@chirizxc
Copy link
Contributor

Summary

Test Plan

@chirizxc chirizxc changed the title [flake8-bugbear] Make fix unsafe if it deletes comments (B010) [flake8-bugbear] Make fix unsafe if it deletes comments (B010) Jan 17, 2026
@chirizxc
Copy link
Contributor Author

I think the test from #22656 should be sufficient, as the rules are the same.

@astral-sh-bot
Copy link

astral-sh-bot bot commented Jan 17, 2026

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@chirizxc chirizxc closed this Jan 18, 2026
@chirizxc chirizxc reopened this Jan 18, 2026
@amyreese amyreese added the fixes Related to suggested fixes for violations label Jan 19, 2026
@amyreese amyreese merged commit a4ded59 into astral-sh:main Jan 19, 2026
72 of 82 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants