PEP 696 allows cleaning up code like
from typing import Generator
def gen() -> Generator[int, None, None]: # bad (on 3.13+)
yield 42
def gen() -> Generator[int]: # good
yield 42
would be great if ruff had an auto-fix for that if the target version is at least 3.13
PEP 696 allows cleaning up code like
would be great if
ruffhad an auto-fix for that if the target version is at least 3.13