-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
C: parserHow we parse code. Or fail to parse it.How we parse code. Or fail to parse it.F: stringsRelated to our handling of stringsRelated to our handling of stringsT: enhancementNew feature or requestNew feature or requestT: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?
Description
Operating system: macOS 10.13.6
Python version: 3.7.0
Black version: 18.9b0
Does also happen on master: yes
Given this example
prefix = "foo"
print(f"{ prefix }.bar")I was expecting black to trim the whitespace inside the f-string braces, but black leaves the file as-is.
Is this a bug or expected?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C: parserHow we parse code. Or fail to parse it.How we parse code. Or fail to parse it.F: stringsRelated to our handling of stringsRelated to our handling of stringsT: enhancementNew feature or requestNew feature or requestT: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?