formatting below code with ruff format file.py command leads to invalid python code:
match {}:
case {
"long_long_long_key": str(long_long_long_key)
} if value := "long long long long long long long long long long long value":
pass
after formatting with ruff the file will look like this which is not a valid python code:
match {}:
case {"long_long_long_key": str(long_long_long_key)} if value
:= "long long long long long long long long long long long value":
pass
ruff version: 0.1.11
formatting below code with
ruff format file.pycommand leads to invalid python code:after formatting with ruff the file will look like this which is not a valid python code:
ruff version: 0.1.11