Skip to content

Add type hints and ship py.typed #19

Closed

Description

@markbac

Most functions are unannotated (for example set_log_context, ContextualLoggerAdapter, log_duration, tqdm_logging). Add annotations, run mypy --strict in CI and include a py.typed marker so downstream projects get type information. log_duration should use ParamSpec/TypeVar to preserve the wrapped signature.


Generated by Claude Code

Activity

  1. markbac commented on Oct 3, 2026

    @markbac
    OwnerAuthor

    Work started on branch chore/19-type-hints.


    Generated by Claude Code

  2. markbac commented on Oct 3, 2026

    @markbac
    OwnerAuthor

    Fixed in #49 and merged to main.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions