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
This is fixed in pre-release. Nothing to do with Black formatter itself. More to do with VS code uses UTF-16 when calculating string lengths in the editor no matter which encoding is used for the file itself. You can read the details in #395
Problem description
I have a Python code:
When I format it using black
23.12.1
I get:But When I format it with this addon I get:
Which is invalid code.
Configuration
The text was updated successfully, but these errors were encountered: