Add base vscode settings

This commit is contained in:
Odd Stråbø 2023-07-02 16:32:29 +00:00
parent e89ed43839
commit 11955e1af2
2 changed files with 17 additions and 0 deletions

1
.gitignore vendored
View File

@ -68,6 +68,7 @@ Thumbs.db
.DS_Store .DS_Store
.vscode/* .vscode/*
!.vscode/extensions.json !.vscode/extensions.json
!.vscode/settings.json
pyinstrument/ pyinstrument/
# Now managed by templates # Now managed by templates

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

@ -0,0 +1,16 @@
{
"editor.formatOnSave": true,
"python.formatting.provider": "black",
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.testing.pytestEnabled": true,
"python.analysis.diagnosticMode": "workspace",
"files.associations": {
"requirements-*.txt": "pip-requirements"
},
"sonarlint.connectedMode.project": {
"connectionId": "jellyfin",
"projectKey": "jellyfin_jellyfin-kodi"
},
}