The Black Formatter - Python

Viewed 4129

I just started using the Black Formatter module with VSCode everything was going well till I just noticed that it uses double quotes over single quotes which I already was using in my code.. and it overrode that..

So, is there an Black Argument that I could add to VSCode which solves this problem?

Thanks.

2 Answers

--skip-string-normalization or -S for short

{
    ...

    "python.formatting.blackArgs": [
        "-S"
    ],
    ...
}
Related