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
No, I mean Black's target-version setting. By default Black assumes your code is 3.6-compatible. Does it work if you limit your target-version to 3.8+.
We could perhaps autodetect this grammar change though and detect that the code is 3.8+.
Describe the bug
Returning a tuple containing star operator without enclosing with parentheses leads to a
Cannot parse
error.Oh no! 💥 💔 💥
To Reproduce
And try to blackify...
Expected behavior
I expect it to not choke.
There is a workaround -- enclosing in parentheses
But doing this makes the linter complain that "Remove redundant parentheses".
Environment (please complete the following information):
axblack 20210720
The text was updated successfully, but these errors were encountered: