2020-01-24 20:00:25 +01:00
|
|
|
[mypy]
|
|
|
|
plugins =
|
|
|
|
mypy_django_plugin.main,
|
|
|
|
mypy_drf_plugin.main
|
|
|
|
strict_optional = True
|
2020-04-14 12:05:45 +02:00
|
|
|
no_implicit_optional = True
|
|
|
|
warn_unused_ignores = True
|
|
|
|
check_untyped_defs = True
|
|
|
|
warn_unreachable = True
|
|
|
|
strict_equality = True
|
2020-11-02 15:55:20 +01:00
|
|
|
ignore_missing_imports = True
|
2023-02-07 17:02:29 +01:00
|
|
|
exclude = posthog/hogql/grammar/
|
2020-01-24 20:00:25 +01:00
|
|
|
|
2020-04-17 16:38:17 +02:00
|
|
|
[mypy-posthog.tasks.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
check_untyped_defs = True
|
|
|
|
|
2020-01-24 20:00:25 +01:00
|
|
|
[mypy.plugins.django-stubs]
|
2020-11-02 15:55:20 +01:00
|
|
|
django_settings_module = posthog.settings
|