Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Explicit mention all files that mypy should ignore in the mypy.ini configuration file (#4306)

Henrik Skov Midtiby0cec80216b97
diff --git a/mypy.ini b/mypy.ini
index 1d2340ca3..07d93b4e4 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -48,88 +48,188 @@ warn_return_any = True
#
# disable_recursive_aliases = True
-[mypy-manim._config.*]
+[mypy-manim._config.utils]
ignore_errors = True
-disable_error_code = return-value
-[mypy-manim._config.cli_colors]
-ignore_errors = False
+[mypy-manim.animation.animation]
+ignore_errors = True
-[mypy-manim._config.logger_utils]
-ignore_errors = False
+[mypy-manim.animation.composition]
+ignore_errors = True
-[mypy-manim.animation.*]
+[mypy-manim.animation.creation]
ignore_errors = True
-[mypy-manim.animation.changing]
-ignore_errors = False
+[mypy-manim.animation.growing]
+ignore_errors = True
-[mypy-manim.animation.fading]
-ignore_errors = False
+[mypy-manim.animation.indication]
+ignore_errors = True
-[mypy-manim.animation.numbers]
-ignore_errors = False
+[mypy-manim.animation.movement]
+ignore_errors = True
-[mypy-manim.animation.updaters.update]
-ignore_errors = False
+[mypy-manim.animation.rotation]
+ignore_errors = True
-[mypy-manim.camera.*]
+[mypy-manim.animation.speedmodifier]
ignore_errors = True
-[mypy-manim.cli.*]
-ignore_errors = False
+[mypy-manim.animation.transform_matching_parts]
+ignore_errors = True
-[mypy-manim.cli.cfg.*]
-ignore_errors = False
+[mypy-manim.animation.transform]
+ignore_errors = True
-[mypy-manim.gui.*]
+[mypy-manim.animation.updaters.mobject_update_utils]
ignore_errors = True
-[mypy-manim.mobject.*]
+[mypy-manim.camera.camera]
ignore_errors = True
-[mypy-manim.mobject.frame]
-ignore_errors = False
+[mypy-manim.camera.mapping_camera]
+ignore_errors = True
-[mypy-manim.mobject.geometry.*]
+[mypy-manim.camera.moving_camera]
ignore_errors = True
-[mypy-manim.mobject.graphing.scale]
-ignore_errors = False
+[mypy-manim.camera.multi_camera]
+ignore_errors = True
-[mypy-manim.mobject.text.code_mobject]
-ignore_errors = False
+[mypy-manim.camera.three_d_camera]
+ignore_errors = True
-[mypy-manim.mobject.three_d.three_d_utils]
-ignore_errors = False
+[mypy-manim.gui.gui]
+ignore_errors = True
-[mypy-manim.renderer.*]
+[mypy-manim.mobject.graphing.coordinate_systems]
ignore_errors = True
-[mypy-manim.scene.*]
+[mypy-manim.mobject.graphing.functions]
ignore_errors = True
-[mypy-manim.scene.moving_camera_scene]
-ignore_errors = False
+[mypy-manim.mobject.graphing.number_line]
+ignore_errors = True
-[mypy-manim.scene.section]
-ignore_errors = False
+[mypy-manim.mobject.graphing.probability]
+ignore_errors = True
-[mypy-manim.utils.hashing.*]
+[mypy-manim.mobject.graph]
ignore_errors = True
-[mypy-manim.utils.color.*]
-ignore_errors = False
+[mypy-manim.mobject.logo]
+ignore_errors = True
-[mypy-manim.utils.iterables]
-warn_return_any = False
+[mypy-manim.mobject.matrix]
+ignore_errors = True
+[mypy-manim.mobject.mobject]
+ignore_errors = True
-# ---------------- We can't properly type this ------------------------
+[mypy-manim.mobject.opengl.dot_cloud]
+ignore_errors = True
+
+[mypy-manim.mobject.opengl.opengl_compatibility]
+ignore_errors = True
-[mypy-manim.grpc.*]
+[mypy-manim.mobject.opengl.opengl_geometry]
ignore_errors = True
+[mypy-manim.mobject.opengl.opengl_image_mobject]
+ignore_errors = True
+
+[mypy-manim.mobject.opengl.opengl_mobject]
+ignore_errors = True
+
+[mypy-manim.mobject.opengl.opengl_point_cloud_mobject]
+ignore_errors = True
+
+[mypy-manim.mobject.opengl.opengl_surface]
+ignore_errors = True
+
+[mypy-manim.mobject.opengl.opengl_three_dimensions]
+ignore_errors = True
+
+[mypy-manim.mobject.opengl.opengl_vectorized_mobject]
+ignore_errors = True
+
+[mypy-manim.mobject.svg.brace]
+ignore_errors = True
+
+[mypy-manim.mobject.svg.svg_mobject]
+ignore_errors = True
+
+[mypy-manim.mobject.table]
+ignore_errors = True
+
+[mypy-manim.mobject.text.numbers]
+ignore_errors = True
+
+[mypy-manim.mobject.text.tex_mobject]
+ignore_errors = True
+
+[mypy-manim.mobject.text.text_mobject]
+ignore_errors = True
+
+[mypy-manim.mobject.three_d.polyhedra]
+ignore_errors = True
+
+[mypy-manim.mobject.three_d.three_dimensions]
+ignore_errors = True
+
+[mypy-manim.mobject.types.image_mobject]
+ignore_errors = True
+
+[mypy-manim.mobject.types.point_cloud_mobject]
+ignore_errors = True
+
+[mypy-manim.mobject.types.vectorized_mobject]
+ignore_errors = True
+
+[mypy-manim.mobject.value_tracker]
+ignore_errors = True
+
+[mypy-manim.mobject.vector_field]
+ignore_errors = True
+
+[mypy-manim.renderer.cairo_renderer]
+ignore_errors = True
+
+[mypy-manim.renderer.opengl_renderer]
+ignore_errors = True
+
+[mypy-manim.renderer.opengl_renderer_window]
+ignore_errors = True
+
+[mypy-manim.renderer.shader]
+ignore_errors = True
+
+[mypy-manim.renderer.shader_wrapper]
+ignore_errors = True
+
+[mypy-manim.renderer.vectorized_mobject_rendering]
+ignore_errors = True
+
+[mypy-manim.scene.scene_file_writer]
+ignore_errors = True
+
+[mypy-manim.scene.scene]
+ignore_errors = True
+
+[mypy-manim.scene.three_d_scene]
+ignore_errors = True
+
+[mypy-manim.scene.vector_space_scene]
+ignore_errors = True
+
+[mypy-manim.scene.zoomed_scene]
+ignore_errors = True
+
+[mypy-manim.utils.hashing]
+ignore_errors = True
+
+
+
# ---------------- Stubless imported Modules --------------------------
# We should be able to create stubs for this or type hint it