[pyupgrade] Don't offer fix for Optional[None] in non-pep604-annotation-optional (UP045) or non-pep604-annotation-union (UP007) by robsdedude · Pull Request #18545 · astral-sh/ruff (original) (raw)

@robsdedude marked this pull request as draft

June 8, 2025 08:05

@robsdedude robsdedude changed the title[pyupgrade] Ignore Optional[None] in non-pep604-annotation-optional (UP045) and non-pep604-annotation-union (UP007) [pyupgrade] Don't offer fix for Optional[None] in non-pep604-annotation-optional (UP045) or non-pep604-annotation-union (UP007)

Jun 8, 2025

@robsdedude

@robsdedude robsdedude deleted the fix/18508-up045-ignore-optional-none branch

June 11, 2025 06:30

dcreager added a commit that referenced this pull request

Jun 12, 2025

@dcreager

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})