style(.vscode): autoformating

This commit is contained in:
Laureηt 2022-02-06 17:17:23 +01:00
parent 4e3e2f6fa2
commit d35c061ffb
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
3 changed files with 61 additions and 58 deletions

58
.vscode/launch.json vendored
View file

@ -1,31 +1,31 @@
{ {
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "Server", "name": "Server",
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/src/server.py", "program": "${workspaceFolder}/src/server.py",
"console": "integratedTerminal", "console": "integratedTerminal",
"envFile": "" "envFile": ""
}, },
{ {
"name": "Emulator", "name": "Emulator",
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/src/emulator.py", "program": "${workspaceFolder}/src/emulator.py",
"console": "integratedTerminal", "console": "integratedTerminal",
"envFile": "" "envFile": ""
} }
], ],
"compounds": [ "compounds": [
{ {
"name": "Server/Emulator", "name": "Server/Emulator",
"configurations": [ "configurations": [
"Server", "Server",
"Emulator" "Emulator"
], ],
"stopAll": true "stopAll": true
} }
] ]
} }

35
.vscode/settings.json vendored
View file

@ -1,18 +1,21 @@
{ {
"python.pythonPath": ".venv/bin/python", "python.pythonPath": ".venv/bin/python",
"python.formatting.provider": "black", "python.formatting.provider": "black",
"editor.formatOnSave": true, "editor.formatOnSave": true,
"python.linting.enabled": true, "python.linting.enabled": true,
"python.linting.lintOnSave": true, "python.linting.lintOnSave": true,
"python.linting.flake8Enabled": true, "python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true, "python.linting.mypyEnabled": true,
"python.linting.banditEnabled": true, "python.linting.banditEnabled": true,
"[python]": { "[python]": {
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.organizeImports": true "source.organizeImports": true
} }
}, },
"python.analysis.extraPaths": [ "python.analysis.extraPaths": [
"./mgba/src/platform/python/build/lib.linux-x86_64-3.9/mgba" "./mgba/src/platform/python"
], ],
"conventionalCommits.scopes": [
".vscode"
],
} }

26
.vscode/tasks.json vendored
View file

@ -1,15 +1,15 @@
{ {
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "Redis server", "label": "Redis server",
"command": "redis-server", "command": "redis-server",
"type": "process", "type": "process",
"isBackground": true, "isBackground": true,
"problemMatcher": [], "problemMatcher": [],
"presentation": { "presentation": {
"reveal": "silent" "reveal": "silent"
}, },
} }
] ]
} }