Skip to content

[pylint] Supress PLE2510/2512/2513/2514/2515 autofix if the text contains an odd number of backslashes - #18856

Merged
MichaReiser merged 2 commits into
astral-sh:mainfrom
LaBatata101:fix-PLE2510
Jun 23, 2025
Merged

MichaReiser merged 2 commits into
astral-sh:mainfrom
LaBatata101:fix-PLE2510

Conversation

@LaBatata101

Copy link
Copy Markdown
Contributor

Summary

Fixes #18815

Test Plan

Add regression tests

…he text contains an odd number of backslashes
@github-actions

github-actions Bot commented Jun 21, 2025 •

Copy link
Copy Markdown
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@MichaReiser
MichaReiser self-requested a review as a code owner June 23, 2025 08:03
@MichaReiser MichaReiser added bug An issue describing something that isn't working, or a PR that fixes a bug fixes Related to suggested fixes for violations labels Jun 23, 2025
@MichaReiser
MichaReiser merged commit 659ecba into astral-sh:main Jun 23, 2025
@LaBatata101
LaBatata101 deleted the fix-PLE2510 branch June 23, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue describing something that isn't working, or a PR that fixes a bug fixes Related to suggested fixes for violations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Pylint] PLE2510 fix changes behavior with preceding slash

2 participants