0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 00:46:45 +01:00
posthog/mypy.ini
2023-02-07 17:02:29 +01:00

19 lines
434 B
INI

[mypy]
plugins =
mypy_django_plugin.main,
mypy_drf_plugin.main
strict_optional = True
no_implicit_optional = True
warn_unused_ignores = True
check_untyped_defs = True
warn_unreachable = True
strict_equality = True
ignore_missing_imports = True
exclude = posthog/hogql/grammar/
[mypy-posthog.tasks.*]
disallow_untyped_defs = True
check_untyped_defs = True
[mypy.plugins.django-stubs]
django_settings_module = posthog.settings