Skip to content

Conversation

@aran-martin
Copy link

No description provided.

Add include directive for type hints in usp package
Copilot AI review requested due to automatic review settings November 21, 2025 13:27
Copilot finished reviewing on behalf of aran-martin November 21, 2025 13:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds PEP 561 compliance to the ultimate-sitemap-parser package by adding a py.typed marker file, enabling type checkers like mypy to use the package's type hints. This is beneficial since the package already contains type annotations throughout its codebase (e.g., in helpers.py).

Key changes:

  • Added py.typed marker file to the usp package directory
  • Updated pyproject.toml to include the py.typed file in the distribution

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
usp/py.typed Adds PEP 561 marker file to indicate the package distributes type information
pyproject.toml Adds include directive to ensure py.typed file is included in package distribution

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant