Debian Codegraph @

.vscode/settings.json

raw symbols SCIP
1 {
2 // Use the Ruff extension (charliermarsh.ruff) as the sole formatter and linter
3 // for Python files. Install it from the VS Code marketplace or via
4 // ext install charliermarsh.ruff
5 "[python]": {
6 "editor.defaultFormatter": "charliermarsh.ruff",
7 "editor.formatOnSave": true,
8 "editor.codeActionsOnSave": {
9 // Apply all auto-fixable lint violations on save (isort, pyupgrade, etc.)
10 "source.fixAll.ruff": "explicit",
11 // Keep imports sorted on save
12 "source.organizeImports.ruff": "explicit"
13 }
14 },
15
16 // Ruff reads its configuration from pyproject.toml automatically, so no
17 // separate ruff.configuration key is needed. Leave the extension defaults.
18
19 // Testing
20 "python.testing.pytestEnabled": true,
21 "python.testing.unittestEnabled": false,
22 "python.testing.pytestArgs": ["tests"],
23 "python.testing.cwd": "${workspaceFolder}",
24
25 // Python path
26 "python.envFile": "${workspaceFolder}/.env",
27 "terminal.integrated.env.linux": {
28 "PYTHONPATH": "${workspaceFolder}"
29 }
30 }