-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
executable file
·54 lines (49 loc) · 1.63 KB
/
devcontainer.json
File metadata and controls
executable file
·54 lines (49 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.155.1/containers/python-3
{
"name": "python_learning",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
// ,
// "args": {
// "HTTP_PROXY": "",
// "HTTPS_PROXY": "",
// "http_proxy": "",
// "https_proxy": "",
// "NO_PROXY": "",
// "no_proxy": ""
// }
},
"runArgs": ["--env-file", ".devcontainer/devcontainer.env"],
"containerUser": "root",
// Set *default* container specific settings.json values on container create.
"settings": {
"autoDocstring.docstringFormat": "sphinx",
"python.pythonPath": "python",
"python.languageServer": "Pylance",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.linting.flake8Path": "/usr/local/bin/flake8",
"python.linting.pylintPath": "/usr/local/bin/pylint",
"python.testing.pytestPath": "/usr/local/bin/pytest",
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": ["tests"],
"terminal.integrated.defaultProfile.linux": "zsh"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python",
"njpwerner.autodocstring",
"hediet.vscode-drawio",
"docsmsft.docs-markdown",
"streetsidesoftware.code-spell-checker",
"ms-toolsai.jupyter",
"ms-toolsai.jupyter-renderers",
"shuworks.vscode-table-formatter",
"redhat.vscode-yaml",
"trond-snekvik.simple-rst",
],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bash /tmp/config_devcontainer.sh",
}