From 1b57fcf43dc0375f5e4b045522c33866d5c44ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Thu, 26 Oct 2023 19:10:20 +0200 Subject: [PATCH] flake8 linting --- api/.devcontainer/devcontainer.json | 2 +- api/.vscode/settings.json | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/api/.devcontainer/devcontainer.json b/api/.devcontainer/devcontainer.json index 88c2149..a130a35 100644 --- a/api/.devcontainer/devcontainer.json +++ b/api/.devcontainer/devcontainer.json @@ -32,7 +32,7 @@ "mhutchie.git-graph", "ms-python.python", "ms-python.black-formatter", - // "ms-python.flake8", + "ms-python.flake8", "ms-python.isort", "ms-python.vscode-pylance" ] diff --git a/api/.vscode/settings.json b/api/.vscode/settings.json index e2f2c7a..35780cc 100644 --- a/api/.vscode/settings.json +++ b/api/.vscode/settings.json @@ -1,7 +1,7 @@ { - "python.linting.enabled": true, - "python.linting.pylintEnabled": false, - "python.linting.flake8Enabled": true, + // "python.linting.enabled": true, + // "python.linting.pylintEnabled": false, + // "python.linting.flake8Enabled": true, "python.languageServer": "Pylance", "editor.formatOnSave": true, "[python]": { @@ -19,4 +19,5 @@ "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, "black-formatter.importStrategy": "fromEnvironment", + "flake8.importStrategy": "fromEnvironment", } \ No newline at end of file