-
Notifications
You must be signed in to change notification settings - Fork 36
/
.devcontainer.json
83 lines (83 loc) · 3.24 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"containerEnv": {
"INTEGRATION_NAME": "alarmdotcom",
"LIBRARY_GIT_URL": "https://github.com/pyalarmdotcom/pyalarmdotcomajax.git",
"LIBRARY_NAME": "pyalarmdotcomajax",
"WORKSPACE_DIRECTORY": "/workspaces/alarmdotcom"
},
"customizations": {
"codespaces": {
"repositories": {
"pyalarmdotcom/pyalarmdotcomajax": {
"permissions": "write-all"
}
}
},
"vscode": {
"extensions": [
"github.codespaces",
"ryanluker.vscode-coverage-gutters",
"donjayamanne.githistory",
"github.vscode-pull-request-github",
"donjayamanne.python-extension-pack",
"marklarah.pre-commit-vscode",
"eamodio.gitlens",
"ms-python.black-formatter",
"charliermarsh.ruff",
"esbenp.prettier-vscode",
"EditorConfig.EditorConfig",
"ms-python.mypy-type-checker",
"AykutSarac.jsoncrack-vscode",
"ms-python.python",
"yzhang.markdown-all-in-one",
"tamasfe.even-better-toml"
],
"settings": {
"[python]": {
"editor.codeActionsOnSave": {
"source.fixAll.ruff": true,
"source.organizeImports": true
},
"editor.defaultFormatter": "ms-python.black-formatter",
"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"
},
"forwardPorts": [8123],
"image": "mcr.microsoft.com/devcontainers/python:3.11",
"name": "alarmdotcom",
"postCreateCommand": ["scripts/setup.sh"],
"remoteUser": "vscode"
}