From 48f58a79539e2df05f427f17affee7b2580d6373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sun, 3 Sep 2023 16:37:43 +0000 Subject: [PATCH] remove some deprecated values --- api/.devcontainer/devcontainer.json | 16 +++------------ api/.vscode/settings.json | 31 ++++++++++++++--------------- 2 files changed, 18 insertions(+), 29 deletions(-) diff --git a/api/.devcontainer/devcontainer.json b/api/.devcontainer/devcontainer.json index d62dcd9..48a679e 100644 --- a/api/.devcontainer/devcontainer.json +++ b/api/.devcontainer/devcontainer.json @@ -20,25 +20,15 @@ "vscode": { // Set *default* container specific settings.json values on container create. "settings": { - "python.defaultInterpreterPath": "/usr/local/bin/python", - "python.linting.enabled": true, - "python.linting.pylintEnabled": true, - "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", - "python.formatting.blackPath": "/usr/local/py-utils/bin/black", - "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", - "python.linting.banditPath": "/usr/local/py-utils/bin/bandit", - "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", - "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", - "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", - "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", - "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" + "python.defaultInterpreterPath": "/usr/local/bin/python" }, // Add the IDs of extensions you want installed when the container is created. "extensions": [ "be5invis.toml", "mhutchie.git-graph", "ms-python.python", - "ms-python.flake8", + "ms-python.black-formatter", + // "ms-python.flake8", "ms-python.isort", "ms-python.vscode-pylance" ] diff --git a/api/.vscode/settings.json b/api/.vscode/settings.json index 3edcec7..9254a19 100644 --- a/api/.vscode/settings.json +++ b/api/.vscode/settings.json @@ -1,17 +1,16 @@ { - "python.testing.pytestArgs": [ - "tests" - ], - "python.testing.unittestEnabled": false, - "python.testing.pytestEnabled": true, - "python.linting.enabled": true, - "python.linting.pylintEnabled": false, - "python.linting.flake8Enabled": true, - "python.languageServer": "Pylance", - "editor.formatOnSave": true, - "editor.codeActionsOnSave": { - "source.organizeImports": true - }, - "git.closeDiffOnOperation": true, - "python.analysis.typeCheckingMode": "basic" - } \ No newline at end of file + "python.linting.enabled": true, + "python.linting.pylintEnabled": false, + "python.linting.flake8Enabled": true, + "python.languageServer": "Pylance", + "editor.formatOnSave": true, + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter" + }, + "editor.codeActionsOnSave": { + "source.organizeImports": true + }, + "git.closeDiffOnOperation": true, + "python.analysis.typeCheckingMode": "basic", + "python.analysis.diagnosticMode": "workspace", +} \ No newline at end of file