Skip to content

Commit 45ddccd

Browse files
authored
Workspace#122 (#123)
* global devcontainer * fix global config * rename script to setup * add code snippets * remove code snippets * python docstring * ruler color * create code workspace
1 parent 38988b7 commit 45ddccd

13 files changed

+219
-339
lines changed

.devcontainer.json

+23-11
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,54 @@
11
{
2+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
23
"customizations": {
34
"vscode": {
45
"extensions": [
6+
// general
57
"visualstudioexptteam.vscodeintellicode",
68
"github.vscode-pull-request-github",
79
"redhat.vscode-yaml",
810
"davidanson.vscode-markdownlint",
911
"bierner.markdown-mermaid",
1012
"streetsidesoftware.code-spell-checker",
13+
"tamasfe.even-better-toml",
14+
"github.vscode-github-actions",
15+
"codecov.codecov",
16+
"ritwickdey.liveserver",
17+
"eamodio.gitlens",
18+
// javascript
19+
"dbaeumer.vscode-eslint",
20+
"esbenp.prettier-vscode",
21+
// python
1122
"ms-python.python",
1223
"ms-python.debugpy",
1324
"ms-python.pylint",
1425
"ms-python.isort",
1526
"ms-python.vscode-pylance",
1627
"ms-python.mypy-type-checker",
1728
"ms-python.black-formatter",
18-
"njpwerner.autodocstring",
19-
"tamasfe.even-better-toml",
29+
"qwtel.sqlite-viewer",
30+
"njpwerner.autodocstring"
2031
]
2132
}
2233
},
23-
"dockerComposeFile": [
24-
"./docker-compose.yml"
25-
],
2634
"features": {
27-
"ghcr.io/devcontainers-contrib/features/pipenv:2": {
28-
"version": "2023.11.15"
35+
"ghcr.io/devcontainers/features/github-cli:1": {
36+
"version": "2.52.0"
37+
},
38+
"ghcr.io/devcontainers/features/node:1": {
39+
"version": "18"
2940
},
3041
"ghcr.io/devcontainers/features/python:1": {
3142
"installTools": false,
32-
"version": "3.12"
43+
"version": "3.8"
3344
},
34-
"ghcr.io/devcontainers/features/github-cli:1": {}
45+
"ghcr.io/devcontainers-contrib/features/pipenv:2": {
46+
"version": "2023.11.15"
47+
}
3548
},
3649
"name": "workspace",
37-
"postCreateCommand": "sudo chmod u+x .submodules/recurse-fork/run && .submodules/recurse-fork/run",
50+
"postCreateCommand": "sudo chmod u+x .submodules/setup/run && .submodules/setup/run",
3851
"remoteUser": "root",
39-
"service": "base-service",
4052
"shutdownAction": "none",
4153
"workspaceFolder": "/workspace"
4254
}

.submodules/config/Pipfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ mypy = "==1.6.1"
1212
pylint = "==3.0.2"
1313

1414
[requires]
15-
python_version = "3.12"
15+
python_version = "3.8"

.submodules/config/Pipfile.lock

+33-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)