-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
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
Replace f-strings with regular strings #3081
Comments
Preview mode does this in some cases but not here. I agree that it's worthwhile, although it does change Python's AST. |
Hi I am new to this, I was searching for this but the code base is huge. |
I think it is as simple as dropping |
This comment was marked as off-topic.
This comment was marked as off-topic.
@graingert (responding to your comment on #3087, where I'd like the focus to stay on the broader propsal). This does change the AST:
|
Duplicate of #1156 |
Often as result of refactoring I end up with f-string with no
{substitutions}
, and my editor (integrated with flake8) keepsreminding me about it.
With some stretch one can argue that this is actually formatting issue
and as such within scope of black(1). Would you be interested in patch
that implement this proposal?
to become
The text was updated successfully, but these errors were encountered: