Add VSCode configuration files for Python development

This commit is contained in:
William Valentin
2025-07-28 12:43:29 -07:00
parent 6cecb92596
commit e3622912dd
3 changed files with 30 additions and 1 deletions

1
.gitignore vendored
View File

@@ -7,7 +7,6 @@ __pycache__/
*.spec *.spec
*.log *.log
logs/ logs/
.vscode/
.venv/ .venv/
.poetry/ .poetry/
.pytest_cache/ .pytest_cache/

17
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,17 @@
{
"ansible.python.interpreterPath": "/home/will/Code/thechart/.venv/bin/python",
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true
},
"editor.formatOnSave": true,
"diffEditor.codeLens": true,
"github.copilot.nextEditSuggestions.enabled": true,
"github.copilot.selectedCompletionModel": "",
"ruff.nativeServer": "on",
"ruff.format.preview": false,
"python.experiments.enabled": false,
"ruff.interpreter": [
"${workspaceFolder}/.venv/bin/python"
]
}

13
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,13 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Run TheChart App",
"type": "shell",
"command": "cd /home/will/Code/thechart && python -m src.main",
"group": "build",
"isBackground": false,
"problemMatcher": []
}
]
}