manim icon indicating copy to clipboard operation
manim copied to clipboard

Add type hints to `animation`

Open Viicos opened this issue 1 year ago • 3 comments

Part of https://github.com/ManimCommunity/manim/issues/3375.

Viicos avatar Nov 16 '23 19:11 Viicos

pointwise_become_partial is only available on VMobject, so the type hint is probably invalid here?

https://github.com/ManimCommunity/manim/blob/4315549c31747231eb6e5aead5408e3b2fe4de16/manim/animation/creation.py#L122-L130

Viicos avatar Nov 16 '23 20:11 Viicos

pointwise_become_partial is only available on VMobject, so the type hint is probably invalid here?

https://github.com/ManimCommunity/manim/blob/4315549c31747231eb6e5aead5408e3b2fe4de16/manim/animation/creation.py#L122-L130

It would seem so!

JasonGrace2282 avatar Jan 15 '24 18:01 JasonGrace2282

Consider this a first pass. They are still too many mypy errors to actually enable this module. I first want to go over simple modules and I'll come back to this one later.

Viicos avatar Feb 13 '24 17:02 Viicos