Skip to content

Instantly share code, notes, and snippets.

@joaopalmeiro
Last active August 24, 2020 14:13
Show Gist options
  • Select an option

  • Save joaopalmeiro/2b48b505d2d35195d3b40312d18f60e9 to your computer and use it in GitHub Desktop.

Select an option

Save joaopalmeiro/2b48b505d2d35195d3b40312d18f60e9 to your computer and use it in GitHub Desktop.
[Python] .vscode > settings.json
{
"editor.formatOnSave": true,
"python.formatting.provider": "black",
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"--ignore=E501,W503",
"--per-file-ignores=__init__.py:F401"
],
"python.linting.mypyEnabled": true,
"python.sortImports.args": ["--atomic"],
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment