Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit83bec33

Browse files
authored
Introduce devcontainers configuration (#564)
* feat: add devcontainers configuration* refactor: add lint, http-serve, preview, http-preview make commands
1 parent5416d1c commit83bec33

File tree

4 files changed

+161
-88
lines changed

4 files changed

+161
-88
lines changed

‎.devcontainer/devcontainer.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"name":"Python Translation Devcontainer",
3+
"image":"python:3.12-slim",
4+
"customizations": {
5+
"vscode": {
6+
"extensions": [
7+
"eamodio.gitlens",
8+
"github.vscode-pull-request-github",
9+
"github.vscode-github-actions",
10+
"redhat.vscode-yaml",
11+
"gettext.gettext",
12+
"restructuredtext.restructuredtext"
13+
],
14+
"settings": {
15+
"[python]": {
16+
"editor.formatOnSave":true,
17+
"editor.codeActionsOnSave": {
18+
"source.organizeImports":"always"
19+
}
20+
},
21+
"python.defaultInterpreterPath":"/usr/local/bin/python3",
22+
"terminal.integrated.defaultProfile.linux":"zsh",
23+
"terminal.integrated.profiles.linux": {
24+
"zsh": {
25+
"path":"/bin/zsh"
26+
}
27+
},
28+
"terminal.integrated.env.linux": {
29+
"ZSH":"/bin/zsh"
30+
}
31+
}
32+
}
33+
},
34+
"features": {
35+
"ghcr.io/devcontainers/features/git:1": {
36+
"version":"latest"
37+
},
38+
"ghcr.io/devcontainers/features/common-utils:2": {}
39+
},
40+
"workspaceFolder":"/python-docs-gr",
41+
"workspaceMount":"source=${localWorkspaceFolder},target=/python-docs-gr,type=bind,consistency=cached",
42+
"postCreateCommand":"sudo apt-get update && sudo apt-get install -y hunspell hunspell-el && pip install -r ./requirements.txt",
43+
"mounts": [
44+
"source=pip-cache,target=/home/translator/.cache/pip,type=volume"
45+
],
46+
"remoteUser":"translator"
47+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp