As python 3.6 gave us f-strings it's I've been using them more over the ol' .format() syntax.
Sadly, the syntax is highlighting strings that have curly braces but have neither f-string prefix or .format suffix.

The third statement ("{hello}") shouldn't show the curly brace because that is not doing anything fancy with the string. It's just a string.
This might lead me as a developer to miss putting the f-prefix before a string, as the curly braces are giving an indication that they are treated as some sort of templates.
Any thoughts on this?
As python 3.6 gave us f-strings it's I've been using them more over the ol'
.format()syntax.Sadly, the syntax is highlighting strings that have curly braces but have neither f-string prefix or
.formatsuffix.The third statement (
"{hello}") shouldn't show the curly brace because that is not doing anything fancy with the string. It's just a string.This might lead me as a developer to miss putting the f-prefix before a string, as the curly braces are giving an indication that they are treated as some sort of templates.
Any thoughts on this?