Henrik Skov Midtiby
Henrik Skov Midtiby
There are also work on adding types to the utils module https://github.com/ManimCommunity/manim/pull/3999 and to the files in manim/scene/*.py https://github.com/ManimCommunity/manim/pull/3981
These pull requests are also adding type annotations Typing mobject text https://github.com/ManimCommunity/manim/pull/4092 Typing graphing and camera https://github.com/ManimCommunity/manim/pull/4125
I tried to get an overview of the current number of type errors reported by mypy if no errors are ignored. For this the following command was helpful ``` pre-commit...
Here is an updated status of the mypy errors in the current codebase (commit ea16d22735f91fd3eea). The first value on each line is the number of mypy errors in that particular...
The status for typing errors is as follows (commit a9b65eed5f5bd). ``` 1 Found 1822 errors in 49 files (checked 166 source files) 1 manim/animation/rotation.py 2 manim/mobject/opengl/opengl_three_dimensions.py 2 manim/scene/moving_camera_scene.py 3 manim/mobject/opengl/opengl_compatibility.py...
From 2025-07-29 to 2025-08-13 the number of files containing mypy errors have been reduced from 49 to 31, and the number of errors that mypy detect have been cut from...
Hi @RBerga06, Please join our quest of adding type annotations to the entire codebase. I will try to sketch the process that I use for adding type annotations to a...
An additional recommendation is to limit each PR to a single file. It makes it much easier to review the PR.
@JasonGrace2282 I need some help to proceed with this work. At the current state of the code, there are 75 errors from mypy when the errors from mypy-manim.scene is no...
@JasonGrace2282 Thanks for the input. At the moment I can't figure out where to begin with the current state of this PR, so I started to work on a smaller...