Skip to content

Add py.typed to prevent mypy missing library stubs or py.typed marker error #234

Open
@YuriiMotov

Description

@YuriiMotov

Is your feature request related to a problem? Please describe.
Every time I run mypy on my project I have

error: Skipping analyzing "together": module is installed, but missing library stubs or py.typed marker  [import-untyped]

Describe the solution you'd like
If together library is typed, you can add py.typed file to the root of package, So that it would be more convenient for people to use it with mypy

Describe alternatives you've considered
Alternative for me is to add

[[tool.mypy.overrides]]
module = ["together.*"]
follow_untyped_imports = true

in every project

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions