Add VSCode configuration files for Python development
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,7 +7,6 @@ __pycache__/
|
||||
*.spec
|
||||
*.log
|
||||
logs/
|
||||
.vscode/
|
||||
.venv/
|
||||
.poetry/
|
||||
.pytest_cache/
|
||||
|
||||
17
.vscode/settings.json
vendored
Normal file
17
.vscode/settings.json
vendored
Normal 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
13
.vscode/tasks.json
vendored
Normal 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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user