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
Cannot parse: 1:22: a =f"{1 + 2}"if 1 > 0 elsef"{1 - 2}"
(Note reported line number may be incorrect, as snakefmt could not determine the true line number)
version information:
snakefmt, version 0.8.5
black, 23.12.1 (compiled: yes)
Python 3.12.0
The text was updated successfully, but these errors were encountered:
y9c
changed the title
if-else express under python3.12 cannot be formatted
if-else expression under python3.12 cannot be formatted
Jan 4, 2024
Input file:
Error:
snakefmt.exceptions.InvalidPython: Black error:
version information:
The text was updated successfully, but these errors were encountered: