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

Implement :attr:.Mobject.always, and move builders to their own file #3852

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

updated docs

cff2181
Select commit
Loading
Failed to load commit list.
Open

Implement :attr:.Mobject.always, and move builders to their own file #3852

updated docs
cff2181
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Oct 29, 2024 in 7s

33 new alerts including 31 errors

New alerts in code changed by this pull request

  • 31 errors
  • 2 notes

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 5 in manim/animation/animation.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'OpenGLMobject' may not be defined if module
manim.mobject.opengl.opengl_mobject
is imported before module
manim.animation.animation
, as the
definition
of OpenGLMobject occurs after the cyclic
import
of manim.animation.animation.

Check failure on line 10 in manim/animation/animation.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.animation.animation
, as the
definition
of Mobject occurs after the cyclic
import
of manim.animation.animation.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.animation.animation
, as the
definition
of Mobject occurs after the cyclic
import
of manim.animation.animation.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.animation.animation
, as the
definition
of Mobject occurs after the cyclic
import
of manim.animation.animation.

Check failure on line 22 in manim/camera/camera.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.camera.camera
, as the
definition
of Mobject occurs after the cyclic
import
of manim.camera.camera.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.camera.camera
, as the
definition
of Mobject occurs after the cyclic
import
of manim.camera.camera.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.camera.camera
, as the
definition
of Mobject occurs after the cyclic
import
of manim.camera.camera.

Check failure on line 8 in manim/mobject/builders.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'Animation' may not be defined if module
manim.animation.animation
is imported before module
manim.mobject.builders
, as the
definition
of Animation occurs after the cyclic
import
of manim.mobject.builders.
'Animation' may not be defined if module
manim.animation.animation
is imported before module
manim.mobject.builders
, as the
definition
of Animation occurs after the cyclic
import
of manim.mobject.builders.
'Animation' may not be defined if module
manim.animation.animation
is imported before module
manim.mobject.builders
, as the
definition
of Animation occurs after the cyclic
import
of manim.mobject.builders.
'Animation' may not be defined if module
manim.animation.animation
is imported before module
manim.mobject.builders
, as the
definition
of Animation occurs after the cyclic
import
of manim.mobject.builders.
'Animation' may not be defined if module
manim.animation.animation
is imported before module
manim.mobject.builders
, as the
definition
of Animation occurs after the cyclic
import
of manim.mobject.builders.

Check notice on line 9 in manim/mobject/builders.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'Mobject' is not used.

Check failure on line 9 in manim/mobject/builders.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.mobject.builders
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.builders.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.builders
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.builders.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.builders
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.builders.

Check notice on line 10 in manim/mobject/builders.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'OpenGLMobject' is not used.

Check failure on line 10 in manim/mobject/builders.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'OpenGLMobject' may not be defined if module
manim.mobject.opengl.opengl_mobject
is imported before module
manim.mobject.builders
, as the
definition
of OpenGLMobject occurs after the cyclic
import
of manim.mobject.builders.

Check failure on line 70 in manim/mobject/geometry/arc.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.mobject.geometry.arc
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.geometry.arc.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.geometry.arc
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.geometry.arc.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.geometry.arc
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.geometry.arc.

Check failure on line 25 in manim/mobject/geometry/line.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.mobject.geometry.line
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.geometry.line.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.geometry.line
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.geometry.line.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.geometry.line
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.geometry.line.

Check failure on line 27 in manim/mobject/geometry/line.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'OpenGLMobject' may not be defined if module
manim.mobject.opengl.opengl_mobject
is imported before module
manim.mobject.geometry.line
, as the
definition
of OpenGLMobject occurs after the cyclic
import
of manim.mobject.geometry.line.

Check failure on line 15 in manim/mobject/geometry/shape_matchers.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.mobject.geometry.shape_matchers
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.geometry.shape_matchers.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.geometry.shape_matchers
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.geometry.shape_matchers.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.geometry.shape_matchers
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.geometry.shape_matchers.

Check failure on line 47 in manim/mobject/matrix.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.mobject.matrix
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.matrix.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.matrix
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.matrix.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.matrix
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.matrix.

Check failure on line 41 in manim/mobject/mobject.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

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

Check failure on line 41 in manim/mobject/mobject.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

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

Check failure on line 6 in manim/mobject/opengl/opengl_compatibility.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'OpenGLMobject' may not be defined if module
manim.mobject.opengl.opengl_mobject
is imported before module
manim.mobject.opengl.opengl_compatibility
, as the
definition
of OpenGLMobject occurs after the cyclic
import
of manim.mobject.opengl.opengl_compatibility.

Check failure on line 19 in manim/mobject/opengl/opengl_mobject.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'_UpdaterBuilder' may not be defined if module
manim.mobject.builders
is imported before module
manim.mobject.opengl.opengl_mobject
, as the
definition
of _UpdaterBuilder occurs after the cyclic
import
of manim.mobject.opengl.opengl_mobject.
'_UpdaterBuilder' may not be defined if module
manim.mobject.builders
is imported before module
manim.mobject.opengl.opengl_mobject
, as the
definition
of _UpdaterBuilder occurs after the cyclic
import
of manim.mobject.opengl.opengl_mobject.
'_UpdaterBuilder' may not be defined if module
manim.mobject.builders
is imported before module
manim.mobject.opengl.opengl_mobject
, as the
definition
of _UpdaterBuilder occurs after the cyclic
import
of manim.mobject.opengl.opengl_mobject.

Check failure on line 9 in manim/mobject/opengl/opengl_point_cloud_mobject.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'OpenGLMobject' may not be defined if module
manim.mobject.opengl.opengl_mobject
is imported before module
manim.mobject.opengl.opengl_point_cloud_mobject
, as the
definition
of OpenGLMobject occurs after the cyclic
import
of manim.mobject.opengl.opengl_point_cloud_mobject.

Check failure on line 11 in manim/mobject/opengl/opengl_surface.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'OpenGLMobject' may not be defined if module
manim.mobject.opengl.opengl_mobject
is imported before module
manim.mobject.opengl.opengl_surface
, as the
definition
of OpenGLMobject occurs after the cyclic
import
of manim.mobject.opengl.opengl_surface.

Check failure on line 14 in manim/mobject/opengl/opengl_vectorized_mobject.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'OpenGLMobject' may not be defined if module
manim.mobject.opengl.opengl_mobject
is imported before module
manim.mobject.opengl.opengl_vectorized_mobject
, as the
definition
of OpenGLMobject occurs after the cyclic
import
of manim.mobject.opengl.opengl_vectorized_mobject.

Check failure on line 14 in manim/mobject/opengl/opengl_vectorized_mobject.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'OpenGLPoint' may not be defined if module
manim.mobject.opengl.opengl_mobject
is imported before module
manim.mobject.opengl.opengl_vectorized_mobject
, as the
definition
of OpenGLPoint occurs after the cyclic
import
of manim.mobject.opengl.opengl_vectorized_mobject.

Check failure on line 18 in manim/mobject/types/image_mobject.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.mobject.types.image_mobject
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.types.image_mobject.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.types.image_mobject
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.types.image_mobject.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.types.image_mobject
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.types.image_mobject.

Check failure on line 15 in manim/mobject/types/point_cloud_mobject.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.mobject.types.point_cloud_mobject
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.types.point_cloud_mobject.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.types.point_cloud_mobject
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.types.point_cloud_mobject.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.types.point_cloud_mobject
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.types.point_cloud_mobject.

Check failure on line 25 in manim/mobject/types/vectorized_mobject.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.mobject.types.vectorized_mobject
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.types.vectorized_mobject.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.types.vectorized_mobject
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.types.vectorized_mobject.
'Mobject' may not be defined if module
manim.mobject.mobject
is imported before module
manim.mobject.types.vectorized_mobject
, as the
definition
of Mobject occurs after the cyclic
import
of manim.mobject.types.vectorized_mobject.

Check failure on line 27 in manim/mobject/types/vectorized_mobject.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'OpenGLMobject' may not be defined if module
manim.mobject.opengl.opengl_mobject
is imported before module
manim.mobject.types.vectorized_mobject
, as the
definition
of OpenGLMobject occurs after the cyclic
import
of manim.mobject.types.vectorized_mobject.