Skip to content

Commit 0ff1f37

Browse files
[pre-commit.ci] pre-commit autoupdate (#369)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.14...v0.2.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 92c5699 commit 0ff1f37

File tree

6 files changed

+11
-1
lines changed

6 files changed

+11
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
hooks:
2020
- id: blackdoc
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.1.14
22+
rev: v0.2.0
2323
hooks:
2424
- id: ruff
2525
args: [--fix]

manim_slides/docs/manim_slides_directive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def construct(self):
174174
self.next_slide()
175175
self.zoom(text)
176176
177+
177178
""" # noqa: D400, D415
178179
from __future__ import annotations
179180

manim_slides/ipython/ipython_magic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def construct(self):
144144
In case you want to hide the red box containing the output progress bar, the ``progress_bar`` config
145145
option should be set to ``None``. This can also be done by passing ``--progress_bar None`` as a
146146
CLI flag.
147+
147148
"""
148149
if local_ns is None:
149150
local_ns = {}

manim_slides/slide/animation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def construct(self):
5858
self.next_slide()
5959
6060
self.play(Wipe(circle, square, shift=3 * LEFT))
61+
6162
"""
6263

6364
def __init__(
@@ -122,6 +123,7 @@ def construct(self):
122123
for i in range(2):
123124
self.play(Zoom(circles[i], circles[i+1]))
124125
self.next_slide()
126+
125127
"""
126128

127129
def __init__(

manim_slides/slide/base.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def construct(self):
156156
157157
self.remove_from_canvas("title", "slide_number")
158158
self.wipe(self.mobjects_without_canvas, [])
159+
159160
"""
160161
return self._canvas
161162

@@ -248,6 +249,7 @@ def construct(self):
248249
self.next_slide()
249250
250251
self.play(FadeOut(circle))
252+
251253
"""
252254
return self._wait_time_between_slides
253255

@@ -410,6 +412,7 @@ def construct(self):
410412
self.next_slide(notes="Bye bye")
411413
412414
self.zoom(square)
415+
413416
"""
414417
if self._current_animation > self._start_animation:
415418
if self.wait_time_between_slides > 0.0:
@@ -564,6 +567,7 @@ def construct(self):
564567
return_animation=True
565568
)
566569
self.play(anim)
570+
567571
"""
568572
from .animation import Wipe
569573

@@ -628,6 +632,7 @@ def construct(self):
628632
return_animation=True
629633
)
630634
self.play(anim)
635+
631636
"""
632637
from .animation import Zoom
633638

manim_slides/slide/manim.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def construct(self):
144144
self.next_slide()
145145
146146
self.play(*[FadeOut(mobject) for mobject in self.mobjects])
147+
147148
"""
148149

149150
pass

0 commit comments

Comments
 (0)