Skip to content

feat: Add py.typed marker for PEP 561 compliance#190

Merged
shekharhimanshu merged 1 commit into
mainfrom
feat/add-py-typed-marker
Sep 17, 2025
Merged

feat: Add py.typed marker for PEP 561 compliance#190
shekharhimanshu merged 1 commit into
mainfrom
feat/add-py-typed-marker

Conversation

@shekharhimanshu

Copy link
Copy Markdown
Contributor

This PR adds a py.typed marker file to enable type checking support for downstream users using mypy and other type checkers.

Problem

Currently, when using t4-devkit as a dependency, mypy doesn't recognize the package's type annotations, leading to type checking errors.

Solution

Added an empty py.typed file as specified in PEP 561 to indicate that this package supports type checking.

Testing

Tested with one of my projects that uses t4-devkit as a dependency - confirmed that mypy type checking now works properly without errors.

Copilot AI review requested due to automatic review settings September 17, 2025 09:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions github-actions Bot added the new-feature New feature or request label Sep 17, 2025
@github-actions

github-actions Bot commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2676 2034 76% 50% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: f889ecb by action🐍

@ktro2828 ktro2828 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@shekharhimanshu shekharhimanshu merged commit 63ea089 into main Sep 17, 2025
4 of 5 checks passed
@shekharhimanshu shekharhimanshu deleted the feat/add-py-typed-marker branch September 17, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants