From c09184686bab7107639c0da49d519105b5714ed2 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 2 Jul 2023 13:42:54 +0200 Subject: [PATCH] Add mypy django plugin --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 461646b..3984a1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,11 @@ packages = [ exclude = [ "tests/", ] +plugins = ["mypy_django_plugin.main"] + +[tool.django-stubs] +django_settings_module = "network_inventory.settings.local" + [[tool.mypy.overrides]] module = [ "nested_admin.*",