(note this is a minimal case, the rule that pyupgrade uses is to avoid 1-ary formats with a single variable on the right hand side since it is not possible to know statically whether that is a format-of-tuple or a format-of-scalar)
before
after
from the testsuite of pyupgrade
(note this is a minimal case, the rule that
pyupgradeuses is to avoid 1-ary formats with a single variable on the right hand side since it is not possible to know statically whether that is a format-of-tuple or a format-of-scalar)before
after
from the testsuite of pyupgrade