I've seen some lines using "%" formatting that weren't affected by flynt. Here's my best attempt to reproduce the problem in a minimal form:
from flynt.api import fstringify_code_by_line
# this works perfectly
fstringify_code_by_line("""'%s' % (fn(var),)""", multiline=False, len_limit=100)
>> ("f'{fn(var)}'", 1)
# and this doesn't (it should produce the same result as the first case)
fstringify_code_by_line("""'%s' % fn(var)""", multiline=False, len_limit=100)
>> ("'%s' % fn(var)", 0)
I've seen some lines using "%" formatting that weren't affected by flynt. Here's my best attempt to reproduce the problem in a minimal form: