From d5b39db400e257f6bba03fa0b12e65dfe89546a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Fri, 18 Mar 2022 22:39:52 +0000 Subject: [PATCH] vs code on save --- api/.vscode/settings.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api/.vscode/settings.json b/api/.vscode/settings.json index c453d4d..78086c1 100644 --- a/api/.vscode/settings.json +++ b/api/.vscode/settings.json @@ -7,5 +7,10 @@ "python.linting.enabled": true, "python.linting.pylintEnabled": false, "python.linting.flake8Enabled": true, - "python.languageServer": "Pylance" + "python.languageServer": "Pylance", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.organizeImports": true + }, + "python.formatting.provider": "black" } \ No newline at end of file