diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..0542ac2 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "ms-vscode-remote.remote-containers", + "ms-azuretools.vscode-docker", + "editorconfig.editorconfig", + "njpwerner.autodocstring", + "ms-python.python" + ] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..f07a39c --- /dev/null +++ b/.vscode/launch.json @@ -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", + } + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..02b7f28 --- /dev/null +++ b/.vscode/settings.json @@ -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" + } + ] +}