Skip to content

Instantly share code, notes, and snippets.

@iannelsondev
Created January 6, 2021 14:53
Show Gist options
  • Save iannelsondev/38910b823a62e313f910d89c1b5a1f78 to your computer and use it in GitHub Desktop.
Save iannelsondev/38910b823a62e313f910d89c1b5a1f78 to your computer and use it in GitHub Desktop.
VSCode Workspace Settings for black/isort
{
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"python.testing.pytestEnabled": true,
"python.sortImports.args": [
"-rc",
"-sp pyproject.toml"
],
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--config",
"pyproject.toml",
],
"[python]": {
"editor.codeActionsOnSave": [
"source.fixAll",
"source.organizeImports"
]
},
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment