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
Buck2 supports f-string (although Bazel does not, at least yet), so it would be nice if buildifier did not consider them invalid syntax.
buildifier
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?
The text was updated successfully, but these errors were encountered:
That's correct, however the linter check for unused variables also need to be updated (e.g. the following code shoudln't issue warnings):
def f(): foo = 'bar' return f'{foo}'
Sorry, something went wrong.
It looks like a good first issue, can I work on it?
No branches or pull requests
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:
gives
It seems like this could be implemented quite easily similarly to raw strings, is this correct?
The text was updated successfully, but these errors were encountered: