From 58dc3200482e8314762998533229ffc8703a24ce Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Thu, 6 Aug 2020 17:43:48 +0200 Subject: [PATCH] Run isort on save --- .vscode/settings.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index aadc0a5d..3b9bcea2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,10 @@ "python.linting.flake8Enabled": true, "python.linting.enabled": true, "python.linting.pylintEnabled": false, - "python.formatting.provider": "yapf" + "python.formatting.provider": "yapf", + "[python]": { + "editor.codeActionsOnSave": { + "source.organizeImports": true + } + } }