microsoft/AI-For-Beginners

Public

mirrored from https://github.com/microsoft/AI-For-BeginnersAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
eab705b0c1d2e4b92cb8adb4e9b2d2b0067ebc60

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.devcontainer/devcontainer.json

47lines · modecode

1{
2 "name": "Miniconda (Python 3)",
3 "build": {
4 "context": "..",
5 "dockerfile": "Dockerfile",
6 "args": {
7 "NODE_VERSION": "lts/*"
8 }
9 },
10
11 // Configure tool-specific properties.
12 "customizations": {
13 // Configure properties specific to VS Code.
14 "vscode": {
15 // Set *default* container specific settings.json values on container create.
16 "settings": {
17 "python.defaultInterpreterPath": "/opt/conda/bin/python",
18 "python.linting.enabled": true,
19 "python.linting.pylintEnabled": true,
20 "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
21 "python.formatting.blackPath": "/usr/local/py-utils/bin/black",
22 "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
23 "python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
24 "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
25 "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
26 "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
27 "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
28 "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
29 },
30
31 // Add the IDs of extensions you want installed when the container is created.
32 "extensions": [
33 "ms-python.python",
34 "ms-python.vscode-pylance"
35 ]
36 }
37 },
38
39 // Use 'forwardPorts' to make a list of ports inside the container available locally.
40 // "forwardPorts": [],
41
42 // Use 'postCreateCommand' to run commands after the container is created.
43 // "postCreateCommand": "python --version",
44
45 // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
46 "remoteUser": "vscode"
47}