We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strings that have a 'r' (raw) prefix are not converted by flynt.
$ flynt -s "'foo {0} bar'.format(baz)" f'foo {baz} bar' $ flynt -s "r'foo {0} bar'.format(baz)" r'foo {0} bar'.format(baz) $ flynt --version 0.77
Expected conversion would have prefix rf or fr .
rf
fr
The text was updated successfully, but these errors were encountered:
I hit this one too. It's unfortunate for regex, which are almost always raw strings out of habit (even when they don't need to be), e.g.
import re pat0 = re.compile(r".*") pat1 = re.compile(r"foo/{}?".format(pat0))
Sorry, something went wrong.
No branches or pull requests
Strings that have a 'r' (raw) prefix are not converted by flynt.
Expected conversion would have prefix
rf
orfr
.The text was updated successfully, but these errors were encountered: