|
1 | 1 | // spell: disable |
2 | 2 | { |
3 | 3 | "name": "Kubernetes", |
4 | | - "dockerComposeFile": "docker-compose.yml", |
5 | | - "service": "app", |
6 | | - "workspaceFolder": "/app", |
| 4 | + "build": { |
| 5 | + "dockerfile": "Dockerfile", |
| 6 | + "context": ".." |
| 7 | + }, |
7 | 8 | "remoteUser": "vscode", |
| 9 | + "workspaceFolder": "/app", |
| 10 | + "workspaceMount": "source=${localWorkspaceFolder},target=/app,type=bind,consistency=delegated", |
| 11 | + "runArgs": ["-h","nyu", "--name", "lab-kubernetes"], |
| 12 | + "remoteEnv": { |
| 13 | + "FLASK_DEBUG:": "True", |
| 14 | + "FLASK_APP": "wsgi:app", |
| 15 | + "PORT": "8080", |
| 16 | + "GUNICORN_BIND": "0.0.0.0:8080" |
| 17 | + }, |
8 | 18 | "customizations": { |
9 | 19 | "vscode": { |
10 | 20 | "settings": { |
11 | 21 | "[python]": { |
12 | 22 | "editor.defaultFormatter": "ms-python.black-formatter", |
13 | 23 | "editor.formatOnSave": true |
14 | 24 | }, |
15 | | - "python.linting.enabled": true, |
16 | | - "python.linting.pylintEnabled": true, |
| 25 | + "git.mergeEditor": true, |
17 | 26 | "markdown-preview-github-styles.colorTheme": "light", |
| 27 | + "makefile.extensionOutputFolder": "/tmp", |
| 28 | + "python.testing.unittestEnabled": false, |
| 29 | + "python.testing.pytestEnabled": true, |
| 30 | + "python.testing.pytestArgs": [ |
| 31 | + "tests" |
| 32 | + ], |
18 | 33 | "files.exclude": { |
19 | 34 | "**/.git": true, |
20 | 35 | "**/.DS_Store": true, |
21 | 36 | "**/*.pyc": true, |
22 | 37 | "**/__pycache__": true, |
23 | 38 | "**/.pytest_cache": true |
24 | 39 | } |
25 | | - }, |
| 40 | + }, |
26 | 41 | "extensions": [ |
27 | | - "VisualStudioExptTeam.vscodeintellicode", |
28 | 42 | "ms-python.python", |
| 43 | + "ms-python.vscode-pylance", |
29 | 44 | "ms-python.pylint", |
30 | 45 | "ms-python.flake8", |
31 | | - "ms-python.vscode-pylance", |
32 | 46 | "ms-python.black-formatter", |
33 | | - "njpwerner.autodocstring", |
34 | | - "wholroyd.jinja", |
| 47 | + "ms-vscode.makefile-tools", |
35 | 48 | "yzhang.markdown-all-in-one", |
| 49 | + "DavidAnson.vscode-markdownlint", |
| 50 | + "bierner.github-markdown-preview", |
36 | 51 | "hnw.vscode-auto-open-markdown-preview", |
37 | 52 | "bierner.markdown-preview-github-styles", |
38 | | - "davidanson.vscode-markdownlint", |
39 | 53 | "tamasfe.even-better-toml", |
40 | 54 | "donjayamanne.githistory", |
41 | 55 | "GitHub.vscode-pull-request-github", |
| 56 | + "github.vscode-github-actions", |
42 | 57 | "hbenl.vscode-test-explorer", |
43 | 58 | "LittleFoxTeam.vscode-python-test-adapter", |
| 59 | + "njpwerner.autodocstring", |
| 60 | + "wholroyd.jinja", |
44 | 61 | "redhat.vscode-yaml", |
45 | 62 | "ms-azuretools.vscode-docker", |
46 | 63 | "ms-kubernetes-tools.vscode-kubernetes-tools", |
47 | 64 | "inercia.vscode-k3d", |
48 | 65 | "rangav.vscode-thunder-client", |
49 | | - "bbenoist.vagrant", |
50 | | - "streetsidesoftware.code-spell-checker" |
| 66 | + "streetsidesoftware.code-spell-checker", |
| 67 | + "bbenoist.vagrant" |
51 | 68 | ] |
52 | 69 | } |
53 | 70 | }, |
|
0 commit comments