Skip to content

Commit

Permalink
Stop ignoring manim.plugins errors in mypy.ini (#4006)
Browse files Browse the repository at this point in the history
  • Loading branch information
chopan050 authored Nov 10, 2024
1 parent 97efef4 commit a21a5e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
5 changes: 2 additions & 3 deletions manim/plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from __future__ import annotations

from manim import config, logger

from .plugins_flags import get_plugins, list_plugins
from manim._config import config, logger
from manim.plugins.plugins_flags import get_plugins, list_plugins

__all__ = [
"get_plugins",
Expand Down
6 changes: 3 additions & 3 deletions manim/plugins/plugins_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
else:
from importlib.metadata import entry_points

from manim import console
from manim._config import console

__all__ = ["list_plugins"]

Expand All @@ -27,5 +27,5 @@ def list_plugins() -> None:
console.print("[green bold]Plugins:[/green bold]", justify="left")

plugins = get_plugins()
for plugin in plugins:
console.print(f" • {plugin}")
for plugin_name in plugins:
console.print(f" • {plugin_name}")
3 changes: 0 additions & 3 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ ignore_errors = True
[mypy-manim.mobject.geometry.*]
ignore_errors = False

[mypy-manim.plugins.*]
ignore_errors = True

[mypy-manim.renderer.*]
ignore_errors = True

Expand Down

0 comments on commit a21a5e5

Please sign in to comment.