|
1 | 1 | { |
2 | | - "name": "Python 3", |
3 | | - "build": { |
4 | | - "dockerfile": "Dockerfile", |
5 | | - "context": "..", |
6 | | - "args": { |
7 | | - // Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9 |
8 | | - "VARIANT": "3.8", |
9 | | - // Options |
10 | | - "INSTALL_NODE": "true", |
11 | | - "NODE_VERSION": "lts/*" |
12 | | - } |
13 | | - }, |
| 2 | + "name": "Python 3", |
| 3 | + "build": { |
| 4 | + "dockerfile": "Dockerfile", |
| 5 | + "context": "..", |
| 6 | + "args": { |
| 7 | + // Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9 |
| 8 | + "VARIANT": "3.8", |
| 9 | + // Options |
| 10 | + "INSTALL_NODE": "true", |
| 11 | + "NODE_VERSION": "lts/*" |
| 12 | + } |
| 13 | + }, |
14 | 14 |
|
15 | | - // Set *default* container specific settings.json values on container create. |
16 | | - "settings": { |
17 | | - "terminal.integrated.shell.linux": "/bin/bash", |
18 | | - "python.pythonPath": "/usr/local/bin/python", |
19 | | - "python.linting.enabled": true, |
20 | | - "python.linting.pylintEnabled": true, |
21 | | - "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", |
22 | | - "python.formatting.blackPath": "/usr/local/py-utils/bin/black", |
23 | | - "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", |
24 | | - "python.linting.banditPath": "/usr/local/py-utils/bin/bandit", |
25 | | - "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", |
26 | | - "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", |
27 | | - "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", |
28 | | - "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", |
29 | | - "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" |
30 | | - }, |
| 15 | + // Set *default* container specific settings.json values on container create. |
| 16 | + "settings": { |
| 17 | + "terminal.integrated.shell.linux": "/bin/bash", |
| 18 | + "python.pythonPath": "/usr/local/bin/python", |
| 19 | + "python.linting.enabled": true, |
| 20 | + "python.linting.pylintEnabled": true, |
| 21 | + "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", |
| 22 | + "python.formatting.blackPath": "/usr/local/py-utils/bin/black", |
| 23 | + "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", |
| 24 | + "python.linting.banditPath": "/usr/local/py-utils/bin/bandit", |
| 25 | + "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", |
| 26 | + "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", |
| 27 | + "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", |
| 28 | + "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", |
| 29 | + "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" |
| 30 | + }, |
31 | 31 |
|
32 | | - // Add the IDs of extensions you want installed when the container is created. |
33 | | - "extensions": [ |
34 | | - "ms-python.python" |
35 | | - ], |
| 32 | + // Add the IDs of extensions you want installed when the container is created. |
| 33 | + "extensions": [ |
| 34 | + "ms-python.python" |
| 35 | + ], |
36 | 36 |
|
37 | | - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
38 | | - // "forwardPorts": [], |
| 37 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 38 | + // "forwardPorts": [], |
39 | 39 |
|
40 | | - // Use 'postCreateCommand' to run commands after the container is created. |
41 | | - // "postCreateCommand": "pip3 install --user -r requirements.txt", |
| 40 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 41 | + // "postCreateCommand": "pip3 install --user -r requirements.txt", |
42 | 42 |
|
43 | | - // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
44 | | - "remoteUser": "vscode" |
| 43 | + // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
| 44 | + "remoteUser": "vscode" |
45 | 45 | } |
0 commit comments