|
3 | 3 | {
|
4 | 4 | "name": "robotcode devcontainer",
|
5 | 5 | "image": "mcr.microsoft.com/devcontainers/base:jammy",
|
6 |
| - // Features to add to the dev container. More info: https://containers.dev/features. |
7 |
| - "features": { |
8 |
| - "ghcr.io/devcontainers/features/common-utils:2": { |
9 |
| - "installZsh": true, |
10 |
| - "configureZshAsDefaultShell": true, |
11 |
| - "installOhMyZsh": true, |
12 |
| - "installOhMyZshConfig": true, |
13 |
| - "upgradePackages": true |
14 |
| - }, |
15 |
| - "ghcr.io/devcontainers/features/node:1": {}, |
16 |
| - "ghcr.io/devcontainers/features/python:1": { |
17 |
| - "version": "os-provided", |
18 |
| - "installTools": true, |
19 |
| - "optimize": true |
20 |
| - } |
21 |
| - // "ghcr.io/devcontainers/features/desktop-lite:1": {} |
22 |
| - }, |
23 |
| - |
| 6 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 7 | + "features": { |
| 8 | + "ghcr.io/devcontainers/features/common-utils:2": { |
| 9 | + "installZsh": true, |
| 10 | + "configureZshAsDefaultShell": true, |
| 11 | + "installOhMyZsh": true, |
| 12 | + "installOhMyZshConfig": true, |
| 13 | + "upgradePackages": true |
| 14 | + }, |
| 15 | + "ghcr.io/devcontainers/features/node:1": {}, |
| 16 | + "ghcr.io/devcontainers/features/python:1": { |
| 17 | + "version": "os-provided", |
| 18 | + "installTools": true, |
| 19 | + "optimize": true |
| 20 | + } |
| 21 | + // "ghcr.io/devcontainers/features/desktop-lite:1": {} |
| 22 | + }, |
24 | 23 | // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
25 | 24 | //"build": {
|
26 | 25 | // "dockerfile": "Dockerfile"
|
|
43 | 42 | "gruntfuggly.todo-tree",
|
44 | 43 | "charliermarsh.ruff",
|
45 | 44 | "ms-python.black-formatter",
|
46 |
| - "ms-python.mypy-type-checker" |
| 45 | + "ms-python.mypy-type-checker", |
| 46 | + "ms-python.debugpy" |
47 | 47 | ],
|
48 | 48 | "settings": {
|
49 | 49 | "python.testing.pytestArgs": [
|
|
67 | 67 | "**/.hatch": true,
|
68 | 68 | "**/.ruff_cache": true
|
69 | 69 | },
|
70 |
| - "python.linting.flake8Enabled": false, |
71 |
| - "python.linting.mypyEnabled": true, |
72 | 70 | "python.terminal.activateEnvInCurrentTerminal": true,
|
73 |
| - "python.formatting.provider": "black", |
74 | 71 | "python.analysis.completeFunctionParens": true,
|
75 |
| - "python.linting.mypyArgs": [ |
76 |
| - "--show-column-numbers" |
77 |
| - ], |
78 | 72 | "prettier.printWidth": 120,
|
79 | 73 | "prettier.tabWidth": 4,
|
80 |
| - "eslint.alwaysShowStatus": true, |
81 | 74 | "eslint.format.enable": true,
|
82 | 75 | "eslint.lintTask.enable": true,
|
83 | 76 | "git.followTagsWhenSync": true,
|
84 | 77 | "git.enableSmartCommit": true,
|
85 | 78 | "python.analysis.diagnosticMode": "workspace",
|
| 79 | + "python.venvPath": "${workspaceFolder}/.hatch", |
86 | 80 | "ruff.importStrategy": "fromEnvironment",
|
87 |
| - "python.linting.enabled": true, |
88 |
| - "python.venvPath": "${workspaceFolder}/.hatch" |
| 81 | + "evenBetterToml.schema.associations": { |
| 82 | + "^(.*(/|\\\\)\\.?robot\\.toml|\\.?robot\\.toml)$": "http://localhost:8000/etc/robot.toml.json" |
| 83 | + }, |
| 84 | + "yaml.schemas": { |
| 85 | + "https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml" |
| 86 | + }, |
| 87 | + "mypy-type-checker.importStrategy": "fromEnvironment", |
| 88 | + "debugpy.debugJustMyCode": false, |
| 89 | + "black-formatter.importStrategy": "fromEnvironment", |
| 90 | + "black-formatter.args": [ |
| 91 | + "--config", |
| 92 | + "${workspaceFolder}./pyproject.toml" |
| 93 | + ] |
89 | 94 | }
|
90 | 95 | }
|
91 | 96 | }
|
|
0 commit comments