Skip to content

Commit 8fa92d7

Browse files
committed
Update workspace settings and extension recommendations
1 parent 5449d4d commit 8fa92d7

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.vscode/extensions.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"recommendations": [
33
"ms-python.python",
44
"editorconfig.editorconfig",
5-
"njpwerner.autodocstring"
5+
"njpwerner.autodocstring",
6+
"ms-python.isort",
7+
"ms-python.black-formatter"
68
]
79
}

.vscode/settings.json

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
{
2-
"python.formatting.provider": "black",
32
"python.linting.pylintEnabled": true,
43
"python.terminal.activateEnvInCurrentTerminal": true,
54
"autoDocstring.docstringFormat": "pep257",
6-
"python.analysis.typeCheckingMode": "basic"
5+
"python.analysis.typeCheckingMode": "basic",
6+
"[python]": {
7+
"editor.defaultFormatter": "ms-python.black-formatter",
8+
"editor.formatOnSave": true,
9+
"editor.codeActionsOnSave": {
10+
"source.organizeImports": true
11+
},
12+
},
13+
"isort.args": [
14+
"--profile",
15+
"black"
16+
],
717
}

0 commit comments

Comments
 (0)