Skip to content

Commit f8f2adb

Browse files
authored
Merge pull request #2 from txitxo0/txitxo0/feat/github-repo-lin
chore: add github repo link
2 parents 33392fb + a7f7b08 commit f8f2adb

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.devcontainer/devcontainer.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
66
"remoteUser": "vscode",
77

8+
"containerEnv": {
9+
"GIT_EDITOR": "code --wait"
10+
},
11+
12+
"mounts": [
13+
"source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached",
14+
],
15+
816
"customizations": {
917
"vscode": {
1018
"extensions": [
@@ -13,7 +21,11 @@
1321
"ms-python.autopep8",
1422
"ms-python.mypy-type-checker",
1523
"oderwat.indent-rainbow"
16-
]
24+
],
25+
"settings": {
26+
"git.useEditorAsCommitInput": true,
27+
"python.defaultInterpreterPath": "/workspace/.venv/bin/python"
28+
}
1729
}
1830
},
1931
"postCreateCommand": "python -m venv .venv && .venv/bin/pip install --upgrade pip && .venv/bin/pip install -r requirements.txt"

0 commit comments

Comments
 (0)