Skip to content

Commit 413aa56

Browse files
Chore: add devcontainer configuration and update VSCode settings; remove obsolete firmware files
1 parent 0498e4a commit 413aa56

10 files changed

Lines changed: 81 additions & 22 deletions

.devcontainer/devcontainer.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"name": "Python Flask Development Container",
3+
"image": "mcr.microsoft.com/devcontainers/python:0-3.11-bullseye",
4+
"features": {
5+
"ghcr.io/devcontainers-contrib/features/coverage-py:2": {}
6+
},
7+
"hostRequirements": {
8+
"cpus": 4
9+
},
10+
"waitFor": "onCreateCommand",
11+
"updateContentCommand": "",
12+
"postCreateCommand": "pip install -r requirements.txt && apt-get clean && rm -rf /root/.cache/pip",
13+
"postStartCommand": "", // For commands to run each Codespace start
14+
"customizations": {
15+
"vscode": {
16+
"settings": {
17+
"files.autoSave": "onFocusChange",
18+
"editor.formatOnPaste": true,
19+
"editor.formatOnSave": true,
20+
"editor.fontSize": 18,
21+
"extensions.ignoreRecommendations": true,
22+
"unwantedRecommendations": ["ms-python.vscode-python-envs"],
23+
"terminal.integrated.defaultProfile.windows": "Git Bash",
24+
"window.restoreWindows": "preserve",
25+
"workbench.editorAssociations": {
26+
"*.md": "vscode.markdown.preview.editor"
27+
},
28+
"workbench.colorTheme": "Default Dark+",
29+
"workbench.iconTheme": "vscode-icons",
30+
"github.copilot.enable": {
31+
"python": false,
32+
"html": false,
33+
"css": false,
34+
"SQL": false
35+
},
36+
"chat.agent.enabled": true
37+
},
38+
"extensions": [
39+
"bierner.markdown-mermaid",
40+
"bierner.markdown-preview-github-styles",
41+
"esbenp.prettier-vscode",
42+
"GitHub.codespaces",
43+
"mathematic.vscode-pdf",
44+
"McCarter.start-git-bash",
45+
"mechatroner.rainbow-csv",
46+
"ms-python.black-formatter",
47+
"ms-python.debugpy",
48+
"ms-python.pylint",
49+
"ms-python.python",
50+
"oderwat.indent-rainbow",
51+
"streetsidesoftware.code-spell-checker",
52+
"tal7aouy.icons",
53+
"saeris.markdown-github-alerts",
54+
"yy0931.vscode-sqlite3-editor",
55+
"benpaddlejones.pico-bridge"
56+
]
57+
}
58+
}
59+
}

.vscode/extensions.json

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
{
22
"recommendations": [
3-
"Mctrafficter.start-git-bash",
4-
"ms-python.python",
5-
"esbenp.prettier-vscode",
6-
"oderwat.indent-rainbow",
7-
"mathematic.vscode-pdf",
8-
"GitHub.codespaces",
9-
"ms-python.debugpy",
10-
"ms-python.vscode-pylance",
11-
"saeris.markdown-github-alerts",
12-
"bierner.markdown-preview-github-styles",
13-
"mechatroner.rainbow-csv",
14-
"ms-python.pylint",
15-
"pietrocz.close-all-serial-ports",
16-
"paulober.pico-w-go",
17-
"ms-vscode.vscode-serial-monitor",
18-
"badlogicgames.serial-plotter",
19-
"bierner.markdown-mermaid",
20-
"ms-python.vscode-python-envs",
21-
"raspberry-pi.raspberry-pi-pico"
3+
"bierner.markdown-mermaid",
4+
"bierner.markdown-preview-github-styles",
5+
"esbenp.prettier-vscode",
6+
"GitHub.codespaces",
7+
"mathematic.vscode-pdf",
8+
"McCarter.start-git-bash",
9+
"mechatroner.rainbow-csv",
10+
"ms-python.black-formatter",
11+
"ms-python.debugpy",
12+
"ms-python.pylint",
13+
"ms-python.python",
14+
"oderwat.indent-rainbow",
15+
"streetsidesoftware.code-spell-checker",
16+
"tal7aouy.icons",
17+
"saeris.markdown-github-alerts",
18+
"yy0931.vscode-sqlite3-editor",
19+
"benpaddlejones.pico-bridge"
2220
]
2321
}

.vscode/settings.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@
2626
],
2727
"python.analysis.extraPaths": [
2828
"~/.micropico-stubs/included",
29-
"./examples/smooth_"
29+
"./examples/smooth_",
30+
"/home/codespace/.vscode-remote/extensions/benpaddlejones.pico-bridge-2.1.4/emulator/mock/typings",
31+
"/home/codespace/.vscode-remote/extensions/benpaddlejones.pico-bridge-2.1.4/emulator/mock/micropython"
3032
],
31-
"workbench.colorTheme": "Default Dark+",
33+
"workbench.colorTheme": "Dark+",
3234
"workbench.iconTheme": "vscode-icons",
3335
"github.copilot.enable": {
3436
"python": false,
3537
"html": false,
3638
"css": false
3739
},
38-
"chat.agent.enabled": false
40+
"chat.agent.enabled": true
3941
}
-13 KB
Binary file not shown.
-13 KB
Binary file not shown.
-13 KB
Binary file not shown.
-12 KB
Binary file not shown.
-652 KB
Binary file not shown.
-634 KB
Binary file not shown.
-1.67 MB
Binary file not shown.

0 commit comments

Comments
 (0)