mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
* MyPy Support * MyPy Hook * Removing MyPy Hook * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Delete __init__.pyi * Delete color.pyi * Update .mypy.ini Co-authored-by: Christopher Besch <christopher.besch@gmx.de> * changes * quick fix * MyPy Hook * MyPy Hook Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christopher Besch <christopher.besch@gmx.de>
88 lines
1.5 KiB
INI
88 lines
1.5 KiB
INI
[mypy]
|
|
show_error_codes = True
|
|
|
|
# ignore most files; should be checked once proper types have been implemented
|
|
[mypy-manim.__main__]
|
|
ignore_errors = True
|
|
|
|
[mypy-manim.camera.*]
|
|
ignore_errors = True
|
|
|
|
[mypy-manim.scene.*]
|
|
ignore_errors = True
|
|
|
|
[mypy-manim.cli.cfg.*]
|
|
ignore_errors = True
|
|
|
|
[mypy-manim.mobject.*]
|
|
ignore_errors = True
|
|
|
|
[mypy-manim._config.*]
|
|
ignore_errors = True
|
|
|
|
[mypy-manim.utils.*]
|
|
ignore_errors = True
|
|
|
|
[mypy-manim.animation.*]
|
|
ignore_errors = True
|
|
|
|
# ---------------- We can't properly type this ------------------------
|
|
|
|
[mypy-manim.grpc.*]
|
|
ignore_errors = True
|
|
|
|
# ---------------- Stubless imported Modules --------------------------
|
|
|
|
# We should be able to create stubs for this or type hint it
|
|
[mypy-manimpango]
|
|
ignore_missing_imports = True
|
|
|
|
# Has stubs in 3.8
|
|
[mypy-numpy]
|
|
ignore_missing_imports = True
|
|
|
|
# Has stubs in 3.8
|
|
[mypy-pydub]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-matplotlib]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-scipy.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-networkx]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-git]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-moderngl.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-moderngl_window.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-colour]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-dearpygui.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-screeninfo]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-IPython.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-watchdog.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-tqdm]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-mapbox_earcut]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-click_default_group]
|
|
ignore_missing_imports = True
|