Skip to content

[ruff] Improve autofix safety for never-union (RUF020)#14589

Merged
MichaReiser merged 1 commit intoastral-sh:mainfrom
sbrugman:ruf020-fix-syntax-error
Nov 25, 2024
Merged

[ruff] Improve autofix safety for never-union (RUF020)#14589
MichaReiser merged 1 commit intoastral-sh:mainfrom
sbrugman:ruf020-fix-syntax-error

Conversation

@sbrugman
Copy link
Contributor

Summary

Resolves #14567. See also #14583.

Test Plan

Extended the test fixtures.

@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@MichaReiser MichaReiser added the fixes Related to suggested fixes for violations label Nov 25, 2024
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.

Fixes for PYI061 and RUF020 can generate None | None

2 participants