|
24 | 24 | // risk to running the build directly on the host.
|
25 | 25 | // "runArgs": ["--privileged", "-v", "/dev/bus/usb:/dev/bus/usb", "--group-add", "dialout"],
|
26 | 26 |
|
27 |
| - // Set *default* container specific settings.json values on container create. |
28 |
| - "settings": { |
29 |
| - "terminal.integrated.shell.linux": "/bin/bash", |
30 |
| - "python.pythonPath": "/usr/local/bin/python", |
31 |
| - "python.linting.enabled": true, |
32 |
| - "python.linting.pylintEnabled": true, |
33 |
| - "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", |
34 |
| - "python.formatting.blackPath": "/usr/local/py-utils/bin/black", |
35 |
| - "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", |
36 |
| - "python.linting.banditPath": "/usr/local/py-utils/bin/bandit", |
37 |
| - "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", |
38 |
| - "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", |
39 |
| - "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", |
40 |
| - "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", |
41 |
| - "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" |
| 27 | + "customizations": { |
| 28 | + "vscode": { |
| 29 | + "settings": { |
| 30 | + "terminal.integrated.shell.linux": "/bin/bash", |
| 31 | + "python.pythonPath": "/usr/local/bin/python", |
| 32 | + "python.linting.enabled": true, |
| 33 | + "python.linting.pylintEnabled": true, |
| 34 | + "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", |
| 35 | + "python.formatting.blackPath": "/usr/local/py-utils/bin/black", |
| 36 | + "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", |
| 37 | + "python.linting.banditPath": "/usr/local/py-utils/bin/bandit", |
| 38 | + "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", |
| 39 | + "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", |
| 40 | + "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", |
| 41 | + "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", |
| 42 | + "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" |
| 43 | + }, |
| 44 | + "extensions": [ |
| 45 | + "ms-python.python", |
| 46 | + "platformio.platformio-ide" |
| 47 | + ] |
| 48 | + } |
42 | 49 | },
|
43 | 50 |
|
44 |
| - // Add the IDs of extensions you want installed when the container is created. |
45 |
| - "extensions": [ |
46 |
| - "ms-python.python", |
47 |
| - "platformio.platformio-ide" |
48 |
| - ], |
49 |
| - |
50 | 51 | // Use 'forwardPorts' to make a list of ports inside the container available locally.
|
51 | 52 | // "forwardPorts": [],
|
52 | 53 |
|
|
0 commit comments