Add mypy django plugin

This commit is contained in:
Andreas Zweili 2023-07-02 13:42:54 +02:00
parent 6d1611bafa
commit c09184686b
1 changed files with 5 additions and 0 deletions

View File

@ -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.*",