Skip to content

Add py.typed to declare manim as having type hints#4553

Open
Timmmm wants to merge 2 commits intoManimCommunity:mainfrom
Timmmm:patch-2
Open

Add py.typed to declare manim as having type hints#4553
Timmmm wants to merge 2 commits intoManimCommunity:mainfrom
Timmmm:patch-2

Conversation

@Timmmm
Copy link
Contributor

@Timmmm Timmmm commented Jan 30, 2026

This tells tools like Pyright that this package has its own type hints and it should try to look for them in typeshed.

Information about py.typed: https://peps.python.org/pep-0561/#packaging-type-information

Fixes #4552

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

Timmmm and others added 2 commits January 30, 2026 12:41
This tells tools like Pyright that this package has its own type hints and it should try to look for them in typeshed.

Fixes ManimCommunity#4552
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.

manim is not declared as typed with py.typed leading to stub file not found errors

1 participant