generated from AJpon/pyhon-uv-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython-project.code-workspace
106 lines (106 loc) · 2.26 KB
/
python-project.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"folders": [
{
"path": "."
}
],
"settings": {
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"files.autoSave": "onFocusChange",
"git.autofetch": true,
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"yaml.format.enable": true,
"yaml.completion": true,
"yaml.validate": true,
"yaml.hover": true,
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "keep",
"diffEditor.ignoreTrimWhitespace": false,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
},
"editor.defaultFormatter": "redhat.vscode-yaml",
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "explicit",
"source.organizeImports.ruff": "explicit"
}
},
"python.analysis.extraPaths": [],
"python.autoComplete.extraPaths": [],
"python.analysis.stubPath": "typings",
"python.testing.pytestEnabled": false,
"python.testing.unittestEnabled": true,
"python.testing.autoTestDiscoverOnSaveEnabled": true,
"python.testing.unittestArgs": [
"-v",
"-s",
"./tests",
"-p",
"test_*.py"
],
},
"extensions": {
"recommendations": [
"redhat.vscode-yaml",
"ms-python.vscode-pylance",
"ms-python.python",
"ms-python.debugpy",
"charliermarsh.ruff",
"tamasfe.even-better-toml",
"aaron-bond.better-comments",
"streetsidesoftware.code-spell-checker"
]
},
"launch": {
"version": "0.2.0",
"configurations": [],
"compounds": []
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "Sync dependencies",
"command": "uv",
"type": "shell",
"args": [
"sync"
],
"problemMatcher": [
"$tsc"
],
"presentation": {
"reveal": "always"
}
},
{
"label": "Build package",
"command": "uv",
"type": "shell",
"args": [
"build"
],
"problemMatcher": [
"$tsc"
],
"presentation": {
"reveal": "always"
},
"dependsOn": "Sync dependencies",
"group": "build"
},
]
}
}