feat: add various .vscode files

This commit is contained in:
Laureηt 2022-03-19 22:57:28 +01:00
parent a70b9141d9
commit ea232e6dba
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
4 changed files with 47 additions and 0 deletions

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

@ -0,0 +1,10 @@
{
"recommendations": [
"editorconfig.editorconfig",
"eamodio.gitlens",
"ms-python.python",
"ms-python.vscode-pylance",
"njpwerner.autodocstring",
"vivaxy.vscode-conventional-commits"
]
}

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

@ -0,0 +1,12 @@
{
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": true
}
]
}

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

@ -0,0 +1,14 @@
{
"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
}
}
}

11
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,11 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Poetry install",
"type": "shell",
"command": "$HOME/.local/bin/poetry install",
"problemMatcher": []
}
]
}