-
Notifications
You must be signed in to change notification settings - Fork 0
/
dlpt.code-workspace
68 lines (68 loc) · 1.98 KB
/
dlpt.code-workspace
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
{
"folders": [
{
"path": "."
}
],
"settings": {
"python.defaultInterpreterPath": "env\\Scripts\\python.exe",
// language server
"python.languageServer": "Pylance",
"python.analysis.typeCheckingMode": "basic",
"python.analysis.diagnosticMode": "openFilesOnly",
// autoformat
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--line-length=120",
],
// pytest
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"tests",
"--ignore=temp",
"-s",
"-v",
"--durations=5",
"--cov-config=${workspaceFolder}/.coveragerc",
"--cov-report",
"term-missing",
"--cov=dlpt",
// "--cov=dlpt.log" // when developing single module
],
// editor settings
"editor.wordWrap": "on",
"[python]": { // python specific editor settings
"editor.formatOnSave": true,
"editor.rulers": [
80,
120
],
},
"search.useIgnoreFiles": false,
"restructuredtext.linter.disabled": true,
"restructuredtext.languageServer.disabled": true,
"autoDocstring.customTemplatePath": "docstring.mustache",
// spell checker settings
"cSpell.enabledLanguageIds": [
"python"
],
"cSpell.dictionaries": [
"dlpt"
],
"cSpell.customDictionaries": {
"dlpt": {
"name": "dlpt",
"path": "/.vscode/cspell.json"
}
}
},
"extensions": {
"recommendations": [
"ms-python.python",
"ms-python.vscode-pylance",
"visualstudioexptteam.vscodeintellicode",
"streetsidesoftware.code-spell-checker"
]
},
}