[mypy]
warn_unused_configs = True
ignore_missing_imports = True
check_untyped_defs = True
explicit_package_bases = True
warn_unreachable = True
warn_redundant_casts = True
no_implicit_optional = True
strict_optional = True
disable_error_code = type-abstract
exclude = (^enterprise/migrations/.*)

[mypy-enterprise.tests.unit.test_auth_routes.*]
disable_error_code = union-attr

[mypy-enterprise.sync.install_gitlab_webhooks.*]
disable_error_code = redundant-cast
