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
Description:
While testing Black’s output, I observed that deeply nested f-strings (e.g., f"outer {f'inner {x}'}") sometimes lose indentation alignment or break unpredictably. This reduces code clarity, especially in templating or SQL query generation.
Evidence:
Input (before formatting)
query = f"SELECT {f"COUNT(*) FROM {f"users WHERE id = {user_id}"}"}"
Current output may misalign the nested f-strings.
The text was updated successfully, but these errors were encountered:
Description:
While testing Black’s output, I observed that deeply nested f-strings (e.g., f"outer {f'inner {x}'}") sometimes lose indentation alignment or break unpredictably. This reduces code clarity, especially in templating or SQL query generation.
Evidence:
Input (before formatting)
query = f"SELECT {f"COUNT(*) FROM {f"users WHERE id = {user_id}"}"}"
Current output may misalign the nested f-strings.
The text was updated successfully, but these errors were encountered: