You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this. We do have code handling dictionary and other expressions that use curly braces but it only tests the expression itself rather than the left most or right most sub-expression.
Ruff 0.9.0/1 are introducing syntax syntax errors in f-strings with braces.
While f-strings with simple sets and dicts do not remove the necessary spaces:
the spaces around the braces are removed in version 0.9.0/1, which leads to syntax errors:
Ruff 0.8.6 kept these f-strings unchanged:
The text was updated successfully, but these errors were encountered: