Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding type annotations to manim.utils.* #3999

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Handle mypy errors in utils/space_ops.py

47a0661
Select commit
Loading
Failed to load commit list.
Open

Adding type annotations to manim.utils.* #3999

Handle mypy errors in utils/space_ops.py
47a0661
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Nov 6, 2024 in 7s

10 new alerts including 2 errors

New alerts in code changed by this pull request

  • 2 errors
  • 8 notes

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 50 in manim/scene/scene.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'restructure_list_to_exclude_certain_family_members' may not be defined if module
manim.utils.family_ops
is imported before module
manim.scene.scene
, as the
definition
of restructure_list_to_exclude_certain_family_members occurs after the cyclic
import
of manim.scene.scene.

Check notice on line 59 in manim/utils/bezier.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 1025 in manim/utils/bezier.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 1031 in manim/utils/bezier.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 1118 in manim/utils/bezier.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 1147 in manim/utils/bezier.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 1153 in manim/utils/bezier.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check failure on line 5 in manim/utils/family_ops.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.utils.family_ops
, as the
definition
of Mobject occurs after the cyclic
import
of manim.utils.family_ops.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.utils.family_ops
, as the
definition
of Mobject occurs after the cyclic
import
of manim.utils.family_ops.

Check notice on line 96 in manim/utils/simple_functions.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 100 in manim/utils/simple_functions.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.