Quick guide to Python formatting in VS Code
eric.film › blog › quick-guide-to-python-formattingOct 22, 2020 · Prettier does not work with Python 1 "editor.defaultFormatter": "esbenp.prettier-vscode" If you find this config in your settings, you've found the reason why autopep8, black or yapf are not working - The above configuration will choose Prettier to format Python, which is not supported. In your settings, make sure you override the default formatter for python like so: