Skip to content

Conversation

@yashwantbezawada
Copy link

@yashwantbezawada yashwantbezawada commented Nov 3, 2025

This PR adds a py.typed marker file to the together package, enabling mypy to recognize and use the type annotations in this library.

Currently, users see warnings when running mypy on projects that import together:

error: Skipping analyzing "together": module is installed, but missing library stubs or py.typed marker

This change follows PEP 561 and resolves issue #234.

Testing: The package already has type hints throughout the codebase. This marker file simply enables mypy to utilize them.


Note

Add PEP 561 py.typed marker at src/together/ to expose type hints to type checkers (e.g., mypy).

Written by Cursor Bugbot for commit 5d754e7. This will update automatically on new commits. Configure here.

Adds py.typed marker file to enable type checking with mypy.
This resolves the 'missing library stubs or py.typed marker' warning
that users encounter when running mypy on projects that import together.

Fixes togethercomputer#234
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