VSCode Python Settings

PHOTO EMBED

Thu Jul 22 2021 19:06:36 GMT+0000 (Coordinated Universal Time)

Saved by @jolo #setting #vscode #python

{
  "python.formatting.provider": "black",
  "python.linting.enabled": false,
  "python.linting.pylintEnabled": true,
  "python.formatting.blackPath": "black",
  "python.pythonPath": ".env/bin/python",
  "editor.formatOnSave": true
}
content_copyCOPY

With settings, it enables - black as a formatter - pylint as a linter - the right pythonPath to the virtualenv - auto formatting on save

https://gist.github.com/jolo-dev/638a8a1f9bec7f2bf23b0bd65954d749