# fixhunt regression fixture: ruff TC005, ruff 0.17.1 # the fix labelled safe changes the program's output on this program # before the fix: no stdout, stderr "NameError: name 'TYPE_CHECKING' is not defined", exit 1 # after the fix: stdout "None", exit 0 # finding 2026-10-17T20-39-34-299Z-g1ez-ruff-TC005/r1-p008; rule fired 1 time(s) before the fix def f(pos, /, kw=None, *args, **kwargs): if TYPE_CHECKING: pass print(f(1, kw=2, extra=3))