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

Commit1bb789f

Browse files
committed
feat: add devcontainers configuration
1 parenta39daa7 commit1bb789f

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
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