Skip to content

Commit 73f2ae9

Browse files
committed
vscode: update extensions
This uses new extensions for running linting and formatting tools.
1 parent cfd3c8a commit 73f2ae9

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.vscode/extensions.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44

55
// List of extensions which should be recommended for users of this workspace.
66
"recommendations": [
7+
"github.vscode-github-actions",
78
"ms-python.python",
8-
"ms-python.vscode-pylance"
9+
"ms-python.vscode-pylance",
10+
"ms-python.black-formatter",
11+
"ms-python.isort",
12+
"ms-python.flake8"
913
],
1014
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
1115
"unwantedRecommendations": [

.vscode/settings.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
{
22
"restructuredtext.confPath": "",
33
"python.defaultInterpreterPath": ".venv/bin/python",
4-
"python.formatting.provider": "black",
4+
"python.formatting.provider": "none",
55
"python.linting.pylintEnabled": false,
66
"python.linting.flake8Enabled": true,
77
"python.linting.pycodestyleEnabled": false,
88
"python.linting.enabled": true,
99

1010
"[python]": {
1111
"editor.formatOnSave": true,
12-
"editor.defaultFormatter": "ms-python.python"
12+
"editor.defaultFormatter": "ms-python.black-formatter",
13+
"editor.codeActionsOnSave": {
14+
"source.organizeImports": true
15+
},
1316
},
1417
"python.testing.pytestArgs": [
1518
"tests"

0 commit comments

Comments
 (0)