python-docx currently lacks type hints. This absence causes numerous type errors when running mypy, making it difficult to use the library in type-checked codebases. mypy output indicates multiple type errors throughout python-docx, including incompatible types in assignments, missing return statements, and argument type mismatches.
Task: Add type hints directly to the codebase to provide static typing support compliant with PEP 561. Alternatively, create or support an external stub package (e.g., types-docx).