Buck2 supports f-string (although Bazel does not, at least yet), so it would be nice if buildifier did not consider them invalid syntax.
Currently, running it over:
name = "Cédric"
print(f"Hello, {name}!")
gives
> buildifier asdf.bzl
asdf.bzl:2:24: syntax error near "Hello, {name}!"
asdf.bzl # reformat
It seems like this could be implemented quite easily similarly to raw strings, is this correct?
Buck2 supports f-string (although Bazel does not, at least yet), so it would be nice if
buildifierdid not consider them invalid syntax.Currently, running it over:
gives
It seems like this could be implemented quite easily similarly to raw strings, is this correct?