0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 17:54:41 +01:00
posthog/mypy.ini
Julian Bez 1c6215981f
fix(types): Fix type errors by adding defaults for optional dataclass fields (#19691)
Fix type errors by adding defaults for optional dataclass fields
2024-01-10 12:28:50 +00:00

26 lines
530 B
INI

[mypy]
python_version = 3.10
plugins =
mypy_django_plugin.main,
mypy_drf_plugin.main,
pydantic.mypy
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
[mypy-bin.*]
ignore_errors = True
[mypy-posthog.hogql.grammar.*]
ignore_errors = True
[mypy-posthog.tasks.*]
disallow_untyped_defs = True
check_untyped_defs = True
[mypy.plugins.django-stubs]
django_settings_module = posthog.settings