chore: add .vscode folder

This commit is contained in:
Laureηt 2022-11-25 11:14:04 +01:00
parent f47b36ddff
commit f2997ef381
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
3 changed files with 65 additions and 0 deletions

9
.vscode/extensions.json vendored Normal file
View file

@ -0,0 +1,9 @@
{
"recommendations": [
"ms-vscode-remote.remote-containers",
"ms-azuretools.vscode-docker",
"editorconfig.editorconfig",
"njpwerner.autodocstring",
"ms-python.python"
]
}

16
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,16 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/main.py",
"console": "integratedTerminal",
"justMyCode": true,
"env": {
"QT_QPA_PLATFORM": "xcb",
}
}
]
}

40
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,40 @@
{
"python.defaultInterpreterPath": ".venv/bin/python",
"python.analysis.typeCheckingMode": "basic",
"python.formatting.provider": "black",
"editor.formatOnSave": true,
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.banditEnabled": true,
"python.languageServer": "Pylance",
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/__pycache__": true,
"**/.mypy_cache": true,
},
"yaml.schemas": {
"gameconfig.schema.json": [
"*.gameconfig.yml"
]
},
"json.schemas": [
{
"fileMatch": [
"*.schema.json"
],
"url": "https://json-schema.org/draft/2020-12/schema"
}
]
}