Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pyupgrade] Mark fixes for convert-typed-dict-functional-to-class and convert-named-tuple-functional-to-class as unsafe if they will remove comments (UP013, UP014) #14842

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

AlexWaygood
Copy link
Member

Helps with #9715 (but doesn't close it, as I agree that ideally we'd preserve the comments, and this isn't that uncommon!)

… and `convert-named-tuple-functional-to-class` as unsafe if they will remove comments (`UP013`, `UP014`)
@AlexWaygood AlexWaygood added the fixes Related to suggested fixes for violations label Dec 8, 2024
@chris-griffin
Copy link

Thanks for the quick fix!

Copy link
Contributor

github-actions bot commented Dec 8, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@AlexWaygood AlexWaygood merged commit 9b8ceb9 into main Dec 8, 2024
21 checks passed
@AlexWaygood AlexWaygood deleted the alex/unsafe-up branch December 8, 2024 18:51
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