llm-ingestion-okf/tests/test_packaging.py
Kjell Tore Guttormsen 9ec25d27d0 feat(typing): ship the PEP 561 py.typed marker
Consumers run mypy --strict against the inline annotations; without the
marker every imported symbol degrades to Any.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 03:46:51 +02:00

16 lines
446 B
Python

"""Packaging contract: the library is a PEP 561 typed package.
Consumers run mypy --strict against the inline annotations; without the
py.typed marker mypy degrades every imported symbol to Any.
"""
from __future__ import annotations
from pathlib import Path
import llm_ingestion_okf
def test_package_ships_py_typed_marker() -> None:
package_dir = Path(llm_ingestion_okf.__file__).parent
assert (package_dir / "py.typed").is_file()