-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlaunchpad.code-workspace
More file actions
120 lines (109 loc) · 3.7 KB
/
launchpad.code-workspace
File metadata and controls
120 lines (109 loc) · 3.7 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"folders": [
{
"name": "launchpad",
"path": "."
}
],
"settings": {
// Python Configuration
"python.pythonPath": "./.venv/bin/python",
"python.defaultInterpreterPath": "./.venv/bin/python",
// Test Discovery and Configuration
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.pytestArgs": [
"tests/"
],
"python.testing.autoTestDiscoverOnSaveEnabled": true,
"python.testing.promptToConfigure": false,
// Code Formatting - DEPRECATED settings but keeping for compatibility
"python.formatting.provider": "none",
"python.sortImports.provider": "none",
// Linting
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": false,
"python.linting.mypyEnabled": false,
"python.linting.ruffEnabled": true,
// Auto-format on save - Use Ruff for everything
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
// File associations and exclusions
"files.exclude": {
"**/__pycache__": true,
"**/.pytest_cache": true,
"**/.mypy_cache": true,
"**/htmlcov": true,
"**/*.pyc": true,
"**/.coverage": true,
"**/build": true,
"**/dist": true,
"**/*.egg-info": true
},
// Terminal configuration
"terminal.integrated.env.linux": {
"PYTHONPATH": "${workspaceFolder}/src"
},
"terminal.integrated.env.osx": {
"PYTHONPATH": "${workspaceFolder}/src"
},
// Editor settings for Python
"editor.rulers": [120],
"editor.tabSize": 4,
"editor.insertSpaces": true,
// Language-specific settings
"[python]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "explicit",
"source.organizeImports.ruff": "explicit"
}
},
// IntelliSense settings
"python.analysis.extraPaths": ["./src"],
"python.analysis.typeCheckingMode": "strict",
"python.analysis.autoImportCompletions": true,
// Pytest discovery timeout
"python.testing.pytestPath": "./.venv/bin/pytest",
// Ruff extension configuration (ensures project's ruff is used)
"ruff.path": [".venv/bin/ruff"],
"ruff.importStrategy": "fromEnvironment"
},
"extensions": {
"recommendations": [
"ms-python.python",
"ms-python.vscode-pylance",
"charliermarsh.ruff",
"ryanluker.vscode-coverage-gutters",
"ms-vscode.makefile-tools",
"github.vscode-github-actions"
]
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "Setup Development Environment",
"type": "shell",
"command": "make",
"args": ["dev-setup"],
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"problemMatcher": []
}
]
}
}