[mypy] plugins = mypy_django_plugin.main, mypy_drf_plugin.main strict_optional = True [mypy.plugins.django-stubs] django_settings_module = posthog.settings [mypy-dj_database_url] ignore_missing_imports = True