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
You mention that f-string support was planned in the README, and I'm just curious if you had a rough idea of when that might be.
Big fan of the project by the way.
The text was updated successfully, but these errors were encountered:
I haven't started working on it yet, unfortunately.
My plan is to start with simple replacements, ones that are unlikely to break other linters:
'foo {}'.format(bar) # f'foo {bar}' ## no linebreaks, strictly *shortens* the line 'foo {bar}'.format(bar=bar) # f'foo {bar}' ## same # maybe simple attribute accesses 'foo {}'.format(bar.baz) # f'foo {bar.baz}'
And then expand from there!
My current WIP is implementing % formatting, where I'll likely be able to reuse some of the logic for f-strings: https://github.com/asottile/pyupgrade/tree/percent_format
%
But unsurprisingly, I have copious amounts of freetime ;) (sarcasm) so I haven't really had much time to work on either of those adventures.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
You mention that f-string support was planned in the README, and I'm just curious if you had a rough idea of when that might be.
Big fan of the project by the way.
The text was updated successfully, but these errors were encountered: