2020-01-24 20:00:25 +01:00
|
|
|
[mypy]
|
2024-06-27 23:16:27 +02:00
|
|
|
python_version = 3.11
|
2020-01-24 20:00:25 +01:00
|
|
|
plugins =
|
|
|
|
mypy_django_plugin.main,
|
2024-01-10 13:28:50 +01:00
|
|
|
mypy_drf_plugin.main,
|
|
|
|
pydantic.mypy
|
2020-01-24 20:00:25 +01:00
|
|
|
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
|
2024-01-10 09:32:55 +01:00
|
|
|
|
|
|
|
[mypy-bin.*]
|
|
|
|
ignore_errors = True
|
|
|
|
|
|
|
|
[mypy-posthog.hogql.grammar.*]
|
|
|
|
ignore_errors = True
|
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
|