-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
60 lines (60 loc) · 2.01 KB
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "Python Project Template",
"image": "mcr.microsoft.com/devcontainers/python:3.11",
"features": {
"docker-in-docker": {
"version": "latest",
"moby": false
}
},
"containerEnv": {
"PYTHONPATH": "${containerWorkspaceFolder}/../"
},
"customizations": {
"vscode": {
"extensions": [
"DavidAnson.vscode-markdownlint",
"eamodio.gitlens",
"GitHub.vscode-github-actions",
"ms-python.black-formatter",
"ms-python.isort",
"ms-python.pylint",
"ms-python.python",
"njpwerner.autodocstring"
],
"settings": {
"autoDocstring.docstringFormat": "google-notypes",
"black-formatter.importStrategy": "fromEnvironment",
"editor.rulers": [
88
],
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"isort.args": [
"--profile",
"black"
],
"isort.importStrategy": "fromEnvironment",
"[markdown]": {
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.formatOnSave": true
},
"pylint.importStrategy": "fromEnvironment",
"pylint.args": [
"--rcfile=pylintrc"
],
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
}
}
}
},
"updateContentCommand": "python .devcontainer/update_content.py"
}