From 06857fa6b614044495119c44232b03c31c377cba Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 29 Dec 2024 19:33:17 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- manim/mobject/geometry/arc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manim/mobject/geometry/arc.py b/manim/mobject/geometry/arc.py index c5b639c23f..6d34c1c635 100644 --- a/manim/mobject/geometry/arc.py +++ b/manim/mobject/geometry/arc.py @@ -232,11 +232,11 @@ def has_start_tip(self) -> bool: # Getters def pop_tips(self) -> VGroup: - """Removes the tips of the arrow, + """Removes the tips of the arrow, if there are no tips to return, does nothing """ if not self.has_tip() and not self.has_start_tip(): - return self.get_group_class()() + return self.get_group_class()() start, end = self.get_start_and_end() result = self.get_group_class()() if self.has_tip():