From 4779d7ba7f75543a47adce97cd9109ddf5766c8a Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Fri, 23 Jun 2023 22:23:05 +0200 Subject: [PATCH] vscode: Add settings for python linting & testing --- server/.vscode/settings.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 server/.vscode/settings.json diff --git a/server/.vscode/settings.json b/server/.vscode/settings.json new file mode 100644 index 0000000..eee6147 --- /dev/null +++ b/server/.vscode/settings.json @@ -0,0 +1,21 @@ +{ + "python.analysis.typeCheckingMode": "off", + "python.linting.enabled": false, + "python.linting.mypyArgs": [ + "--follow-imports=silent", + "--ignore-missing-imports", + "--show-column-numbers", + "--no-pretty", + "--warn-return-any", + "--disallow-untyped-calls", + "--disallow-untyped-defs", + "--disallow-incomplete-defs", + "--no-implicit-optional", + ], + "python.linting.mypyEnabled": false, + "python.testing.pytestArgs": [ + "tests", + ], + "python.testing.pytestEnabled": true, + "python.testing.unittestEnabled": false, +}