Skip to content

Commit 8cefae8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f734202 commit 8cefae8

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

manim/utils/color/core.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,7 @@ def parse(
788788
ManimColor
789789
Either a list of colors or a singular color depending on the input
790790
"""
791+
791792
def isSequence(colors) -> TypeGuard[Sequence[ParsableManimColor]]:
792793
return isinstance(colors, (list, tuple))
793794

@@ -887,23 +888,17 @@ def __getitem__(self, index: int) -> float:
887888

888889
def __and__(self, other: Self) -> Self:
889890
return self._construct_from_space(
890-
self._internal_from_integer(
891-
self.to_integer() & int(other), 1.0
892-
)
891+
self._internal_from_integer(self.to_integer() & int(other), 1.0)
893892
)
894893

895894
def __or__(self, other: Self) -> Self:
896895
return self._construct_from_space(
897-
self._internal_from_integer(
898-
self.to_integer() | int(other), 1.0
899-
)
896+
self._internal_from_integer(self.to_integer() | int(other), 1.0)
900897
)
901898

902899
def __xor__(self, other: Self) -> Self:
903900
return self._construct_from_space(
904-
self._internal_from_integer(
905-
self.to_integer() ^ int(other), 1.0
906-
)
901+
self._internal_from_integer(self.to_integer() ^ int(other), 1.0)
907902
)
908903

909904

0 commit comments

Comments
 (0)