From 56d309e953feb3bb7f6298a8da971183b9592f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sat, 30 Oct 2021 14:38:33 +0200 Subject: [PATCH] fix: better vscode integration --- .gitignore | 1 + .vscode/settings.json | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index bb6f85c..60e1da6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ roms/ .venv/ +.mypy_cache/ diff --git a/.vscode/settings.json b/.vscode/settings.json index 03652cd..e9877b2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,15 @@ { "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 + } + }, }