-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.devcontainer.json
68 lines (68 loc) · 2.72 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
61
62
63
64
65
66
67
68
{
"customizations": {
"vscode": {
"extensions": [
"github.codespaces",
"ryanluker.vscode-coverage-gutters",
"donjayamanne.githistory",
"github.vscode-pull-request-github",
"bungcip.better-toml",
"donjayamanne.python-extension-pack",
"marklarah.pre-commit-vscode",
"eamodio.gitlens",
"ms-python.black-formatter",
"ms-python.mypy-type-checker",
"charliermarsh.ruff",
"esbenp.prettier-vscode",
"EditorConfig.EditorConfig",
"ms-python.python",
"ms-python.mypy-type-checker"
],
"settings": {
"[python]": {
"editor.codeActionsOnSave": {
"source.fixAll.ruff": true,
"source.organizeImports": true
},
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"mypy-type-checker.args": ["--config-file=pyproject.toml"],
"mypy-type-checker.reportingScope": "workspace",
"mypy-type-checker.importStrategy": "useBundled",
"python.analysis.autoSearchPaths": false,
"python.analysis.extraPaths": ["/workspaces/pyalarmdotcomajax"],
"python.languageServer": "Pylance",
"python.testing.pytestEnabled": true,
"python.analysis.exclude": ["/**/.*/", "**/__pycache__"],
"python.analysis.diagnosticMode": "workspace",
"python.analysis.typeCheckingMode": "off",
"python.analysis.include": [
"**/custom_components/alarmdotcom",
"**/pyalarmdotcomajax/pyalarmdotcomajax",
"**/pyalarmdotcomajax/tests",
"**/pyalarmdotcomajax/examples"
],
"python.analysis.packageIndexDepths": [
{
"name": "pyalarmdotcomajax",
"depth": 5,
"includeAllSymbols": true
}
]
}
}
},
"features": {
"github-cli": "latest"
},
"image": "mcr.microsoft.com/devcontainers/python:3.11",
"name": "pyalarmdotcomajax",
"postCreateCommand": ["scripts/setup.sh"],
"remoteUser": "vscode"
}