-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
74 lines (74 loc) · 2.37 KB
/
devcontainer.json
File metadata and controls
74 lines (74 loc) · 2.37 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "Python Development Environment",
"build": {
"dockerfile": "Dockerfile",
"context": "..",
"args": {
"PYTHON_VERSION": "{{ cookiecutter.python_version }}"
}
},
"customizations": {
"vscode": {
"extensions": [
"charliermarsh.ruff",
"davidanson.vscode-markdownlint",
"EditorConfig.EditorConfig",
"github.vscode-github-actions",
"ms-azuretools.vscode-docker",
"ms-python.mypy-type-checker",
"ms-python.python",
"redhat.vscode-yaml",
"streetsidesoftware.code-spell-checker-cspell-bundled-dictionaries",
"tamasfe.even-better-toml",
"tekumara.typos-vscode"
],
"settings": {
"python.defaultInterpreterPath": "/workspaces/{{ cookiecutter.project_name_dashed }}/bin/python",
"python.linting.enabled": true,
"python.formatting.provider": "none",
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"python.analysis.typeCheckingMode": "basic",
"python.analysis.diagnosticMode": "workspace",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": true,
"editor.suggestSelection": "first",
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
},
"editor.rulers": [
80
]
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.wordWrap": "on",
"editor.rulers": [
80
]
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml",
"editor.autoIndent": "keep"
},
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"mypy.runUsingActiveInterpreter": true
}
}
},
"postCreateCommand": "[ -d .venv ] || make venv && . .venv/bin/activate && make install",
"remoteUser": "root"
}