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",
"configurations": [
{
"name": "Server",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/server.py",
"console": "integratedTerminal",
"envFile": ""
},
{
"name": "Emulator",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/emulator.py",
"console": "integratedTerminal",
"envFile": ""
}
],
"compounds": [
{
"name": "Server/Emulator",
"configurations": [
"Server",
"Emulator"
],
"stopAll": true
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Server",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/server.py",
"console": "integratedTerminal",
"envFile": ""
},
{
"name": "Emulator",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/emulator.py",
"console": "integratedTerminal",
"envFile": ""
}
],
"compounds": [
{
"name": "Server/Emulator",
"configurations": [
"Server",
"Emulator"
],
"stopAll": true
}
]
}

35
.vscode/settings.json vendored
View file

@ -1,18 +1,21 @@
{
"python.pythonPath": ".venv/bin/python",
"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]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"python.analysis.extraPaths": [
"./mgba/src/platform/python/build/lib.linux-x86_64-3.9/mgba"
],
"python.pythonPath": ".venv/bin/python",
"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]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"python.analysis.extraPaths": [
"./mgba/src/platform/python"
],
"conventionalCommits.scopes": [
".vscode"
],
}

26
.vscode/tasks.json vendored
View file

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