Skip to content

Commit 95cb91b

Browse files
refactor: Add customization vscode
1 parent 1ab2add commit 95cb91b

File tree

1 file changed

+27
-23
lines changed

1 file changed

+27
-23
lines changed

.devcontainer/devcontainer.json

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,33 @@
1010
}
1111
},
1212

13-
// Set *default* container specific settings.json values on container create.
14-
"settings": {
15-
"jupyter.exportWithOutputEnabled": true,
16-
"jupyter.generateSVGPlots": true,
17-
"python.formatting.blackPath": "~/.local/bin/black",
18-
"python.formatting.provider": "black",
19-
"python.linting.banditPath": "~/.local/bin/bandit",
20-
"python.linting.enabled": true,
21-
"python.linting.flake8Path": "~/.local/bin/flake8",
22-
"python.linting.mypyPath": "~/.local/bin/mypy",
23-
"python.linting.pycodestylePath": "~/.local/bin/pycodestyle",
24-
"python.linting.pydocstylePath": "~/.local/bin/pydocstyle",
25-
"python.linting.pylintEnabled": true,
26-
"python.linting.pylintPath": "~/.local/bin/pylint",
27-
"python.testing.pytestEnabled": true,
28-
"python.testing.pytestPath": "~/.local/bin/pytest",
29-
"python.testing.unittestEnabled": true
30-
},
31-
32-
// Add the IDs of extensions you want installed when the container is created.
33-
"extensions": [
34-
"ms-python.python"
35-
],
13+
// Configure tool-specific properties.
14+
"customizations": {
15+
// Configure properties specific to VS Code.
16+
"vscode": {
17+
"settings": {
18+
"jupyter.exportWithOutputEnabled": true,
19+
"jupyter.generateSVGPlots": true,
20+
"python.formatting.blackPath": "~/.local/bin/black",
21+
"python.formatting.provider": "black",
22+
"python.linting.banditPath": "~/.local/bin/bandit",
23+
"python.linting.enabled": true,
24+
"python.linting.flake8Path": "~/.local/bin/flake8",
25+
"python.linting.mypyPath": "~/.local/bin/mypy",
26+
"python.linting.pycodestylePath": "~/.local/bin/pycodestyle",
27+
"python.linting.pydocstylePath": "~/.local/bin/pydocstyle",
28+
"python.linting.pylintEnabled": true,
29+
"python.linting.pylintPath": "~/.local/bin/pylint",
30+
"python.testing.pytestEnabled": true,
31+
"python.testing.pytestPath": "~/.local/bin/pytest",
32+
"python.testing.unittestEnabled": true
33+
},
34+
"extensions": [
35+
"ms-python.python"
36+
]
37+
// "devPort": {}
38+
}
39+
},
3640

3741
// Use 'forwardPorts' to make a list of ports inside the container available locally.
3842
// "forwardPorts": [],

0 commit comments

Comments
 (0)