Skip to content

Commit 7d14f84

Browse files
committed
add mspython and prettier to devcontainers
1 parent e090d08 commit 7d14f84

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

.devcontainer/backend-dev/devcontainer.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
"postCreateCommand": ".devcontainer/backend-dev/post_create_command.sh",
1010
"customizations": {
1111
"vscode": {
12-
"extensions": ["GitHub.copilot"]
12+
"extensions": [
13+
"GitHub.copilot",
14+
"ms-python.python",
15+
"esbenp.prettier-vscode"
16+
]
1317
}
1418
}
1519
}

.devcontainer/backend-dev/post_create_command.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ pip install -r requirements.txt
1212
cd ..
1313

1414
# install code in editable mode in /oasst-shared
15-
cd oasst-shared
16-
pip install -e .
17-
cd ..
15+
pip install -e ./oasst-shared[dev]
1816

1917
# docker compose up for backend-dev
2018
docker compose up backend-dev --build --attach-dependencies -d

.devcontainer/devcontainer.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
"postCreateCommand": ".devcontainer/post_create_command.sh",
1010
"customizations": {
1111
"vscode": {
12-
"extensions": ["GitHub.copilot"]
12+
"extensions": [
13+
"GitHub.copilot",
14+
"ms-python.python",
15+
"esbenp.prettier-vscode"
16+
]
1317
}
1418
}
1519
}

.devcontainer/frontend-dev/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"postCreateCommand": ".devcontainer/frontend-dev/post_create_command.sh",
1010
"customizations": {
1111
"vscode": {
12-
"extensions": ["GitHub.copilot"]
12+
"extensions": ["GitHub.copilot", "esbenp.prettier-vscode"]
1313
}
1414
}
1515
}

0 commit comments

Comments
 (0)