Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 20, 2023
1 parent 66629a5 commit 8689566
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions manim_slides/manim.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,16 @@ def suppress_stdout() -> Iterator[None]:


if MANIMGL:
from manimlib import LEFT, AnimationGroup, Mobject, Scene, ThreeDScene, config, FadeIn, FadeOut
from manimlib import (

Check warning on line 78 in manim_slides/manim.py

View check run for this annotation

Codecov / codecov/patch

manim_slides/manim.py#L78

Added line #L78 was not covered by tests
LEFT,
AnimationGroup,
FadeIn,
FadeOut,
Mobject,
Scene,
ThreeDScene,
config,
)
from manimlib.constants import FFMPEG_BIN
from manimlib.logger import log as logger

Expand All @@ -84,13 +93,13 @@ def suppress_stdout() -> Iterator[None]:
from manim import (
LEFT,
AnimationGroup,
FadeIn,
FadeOut,
Mobject,
Scene,
ThreeDScene,
config,
logger,
FadeIn,
FadeOut
)

try: # For manim<v0.16.0.post0
Expand Down
2 changes: 1 addition & 1 deletion manim_slides/slide.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import platform
import shutil
import subprocess
from typing import Any, List, Optional, Sequence, Tuple, Mapping
from typing import Any, List, Mapping, Optional, Sequence, Tuple

Check warning on line 5 in manim_slides/slide.py

View check run for this annotation

Codecov / codecov/patch

manim_slides/slide.py#L5

Added line #L5 was not covered by tests
from warnings import warn

import numpy as np
Expand Down

0 comments on commit 8689566

Please sign in to comment.