microsoft/AI-For-Beginners
Publicmirrored fromhttps://github.com/microsoft/AI-For-BeginnersAvailable
.devcontainer/devcontainer.json
34lines · modecode
| 1 | { |
| 2 | "name": "Miniconda (Python 3)", |
| 3 | "image": "mcr.microsoft.com/devcontainers/miniconda", |
| 4 | "hostRequirements": { |
| 5 | "cpus": 4, |
| 6 | "memory": "8gb", |
| 7 | "storage": "50gb" |
| 8 | }, |
| 9 | "customizations": { |
| 10 | "vscode": { |
| 11 | "settings": { |
| 12 | "python.defaultInterpreterPath": "/opt/conda/bin/python", |
| 13 | "python.linting.enabled": true, |
| 14 | "python.linting.pylintEnabled": true, |
| 15 | "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", |
| 16 | "python.formatting.blackPath": "/usr/local/py-utils/bin/black", |
| 17 | "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", |
| 18 | "python.linting.banditPath": "/usr/local/py-utils/bin/bandit", |
| 19 | "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", |
| 20 | "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", |
| 21 | "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", |
| 22 | "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", |
| 23 | "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" |
| 24 | }, |
| 25 | "extensions": [ |
| 26 | "ms-python.python", |
| 27 | "ms-python.vscode-pylance" |
| 28 | ] |
| 29 | } |
| 30 | }, |
| 31 | "forwardPorts": [], |
| 32 | "postCreateCommand": "conda update conda -y && conda env create -f environment.yml", |
| 33 | "remoteUser": "vscode" |
| 34 | } |