This repository was archived by the owner on Aug 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathdevcontainer.json
More file actions
54 lines (54 loc) · 1.48 KB
/
devcontainer.json
File metadata and controls
54 lines (54 loc) · 1.48 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
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
{
"name": "HA unifiprotect",
"dockerFile": "Dockerfile",
"context": "..",
"appPort": [
"9123:9123"
],
"runArgs": [
"-v",
"${env:HOME}${env:USERPROFILE}/.ssh:/tmp/.ssh" // This is added so you can push from inside the container
],
"extensions": [
"ms-python.python",
"github.vscode-pull-request-github",
"ryanluker.vscode-coverage-gutters",
"ms-python.vscode-pylance",
"bungcip.better-toml",
],
"mounts": [
"type=volume,target=/config,src=vsc-dev-unifiprotect-ha-config,volume-driver=local"
],
"settings": {
"files.eol": "\n",
"editor.tabSize": 4,
"terminal.integrated.defaultProfile.linux": "bash",
"python.pythonPath": "/usr/local/python/bin/python",
"python.analysis.autoSearchPaths": false,
"python.formatting.blackArgs": [
"--line-length",
"88"
],
"python.formatting.provider": "black",
"python.linting.banditEnabled": false,
"python.linting.enabled": true,
"python.linting.flake8Enabled": false,
"python.linting.mypyEnabled": false,
"python.linting.pylintEnabled": true,
"python.linting.pylintArgs": [
"--rcfile=${workspaceFolder}/pyproject.toml"
],
"python.linting.pylamaEnabled": false,
"python.sortImports.args": [
"--settings-path=${workspaceFolder}/pyproject.toml"
],
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true,
"yaml.customTags": [
"!secret scalar"
]
}
}