Skip to content

Commit f24db9f

Browse files
committed
Add workspace settings for Python development
1 parent 1a0b919 commit f24db9f

2 files changed

Lines changed: 67 additions & 55 deletions

File tree

.vscode/settings.json

Lines changed: 0 additions & 55 deletions
This file was deleted.

zoom-python-client.code-workspace

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "."
5+
}
6+
],
7+
"settings": {
8+
"terminal.integrated.env.osx": {
9+
"PYTHONPATH": "${workspaceFolder}"
10+
},
11+
"terminal.integrated.env.linux": {
12+
"PYTHONPATH": "${workspaceFolder}"
13+
},
14+
"python.analysis.autoSearchPaths": true,
15+
"python.analysis.autoImportCompletions": true,
16+
"python.analysis.indexing": true,
17+
"python.analysis.packageIndexDepths": [
18+
{
19+
"name": "pytest",
20+
"depth": 2
21+
},
22+
{
23+
"name": "unittest",
24+
"depth": 2
25+
}
26+
],
27+
"python.analysis.typeCheckingMode": "basic",
28+
"python.analysis.inlayHints.callArgumentNames": true,
29+
"python.analysis.inlayHints.variableTypes": true,
30+
"python.analysis.inlayHints.functionReturnTypes": true,
31+
"editor.formatOnSave": true,
32+
"isort.check": true,
33+
"isort.args": ["--profile", "black"],
34+
"python.testing.pytestEnabled": true,
35+
"python.testing.pytestArgs": [
36+
"tests",
37+
"-vv",
38+
"--cov=app",
39+
"--cov-report=term-missing",
40+
"--cov-report=html"
41+
],
42+
"[python]": {
43+
"editor.codeActionsOnSave": {
44+
"source.organizeImports": "explicit"
45+
},
46+
"editor.defaultFormatter": "ms-python.black-formatter",
47+
"editor.codeLens": true
48+
},
49+
"search.exclude": {
50+
"**/dist": true,
51+
"**/.venv": true
52+
},
53+
"files.exclude": {
54+
"**/__pycache__": true,
55+
"**/.pytest_cache": true,
56+
"**/.mypy*": true
57+
}
58+
},
59+
"extensions": {
60+
"recommendations": [
61+
"ms-python.black-formatter",
62+
"ms-python.flake8",
63+
"ms-python.mypy-type-checker",
64+
"ms-python.debugpy"
65+
]
66+
}
67+
}

0 commit comments

Comments
 (0)