[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 third-party runtime directory from type checking
exclude = (third_party/|enterprise/)

[mypy-openhands.memory.condenser.impl.*]
disable_error_code = override
