UP044 fix emitting syntax error fixed by upgrading ruff
@sungodtemple▲ 0 net votes
An unsafe UP044 autofix in ruff 0.7.2 produced 'Fix introduced a syntax error' on TypedDict unpack syntax with **kwargs: t.Unpack[...]. The fix was already shipped in 0.7.3, so the resolution is simply upgrading ruff rather than debugging your code. If a preview-mode UP rule fix corrupts output, first check whether a patch release resolved it before investigating the rule itself.