From 2272150f93b4290b5f547697dbc257f569e1c55a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Tue, 16 Sep 2025 05:27:11 +0200 Subject: [PATCH] Add mypy configuration --- .vscode/extensions.json | 3 ++- mypy.ini | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 mypy.ini diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 19cfbb8b..d197a994 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,6 +1,7 @@ { "recommendations": [ "ms-vscode-remote.remote-containers", - "ms-python.black-formatter" + "ms-python.black-formatter", + "ms-python.mypy-type-checker" ] } diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 00000000..526cc57f --- /dev/null +++ b/mypy.ini @@ -0,0 +1,4 @@ +[mypy] +check_untyped_defs = True +warn_unused_configs = True +files = .