mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
29 lines
609 B
INI
29 lines
609 B
INI
[mypy]
|
|
python_version = 3.11
|
|
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
|
|
exclude_gitignore = True
|
|
exclude = ^(bin/.*|gunicorn\.config\.py|manage\.py)$
|
|
|
|
[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
|