From f1f21abbf4d6d60ef2046da1d62ee3f4f624690c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 19:45:30 +0000 Subject: [PATCH 1/2] chore(deps): pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.16.4 → v0.16.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.4...v0.16.5) - [github.com/astral-sh/ty-pre-commit: v0.0.74 → v0.0.76](https://github.com/astral-sh/ty-pre-commit/compare/v0.0.74...v0.0.76) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ddf53856..c0011c1a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,13 +21,13 @@ repos: exclude: uv.lock args: [--autofix, --trailing-commas] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.4 + rev: v0.16.5 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/astral-sh/ty-pre-commit - rev: v0.0.74 + rev: v0.0.76 hooks: - id: ty args: [--isolated, --frozen, --no-default-groups, --group=typechecking] From 0a701bedae9264bf5d7367cba397fd9f85f70f07 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 19:45:55 +0000 Subject: [PATCH 2/2] chore(fmt): auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../reference/large_presentation_tips.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/source/reference/large_presentation_tips.md b/docs/source/reference/large_presentation_tips.md index e3b1d729..82804344 100644 --- a/docs/source/reference/large_presentation_tips.md +++ b/docs/source/reference/large_presentation_tips.md @@ -53,18 +53,15 @@ from manim_slides import Slide class Introduction(Slide): - def construct(self): - ... + def construct(self): ... class ExplainConcepts(Slide): - def construct(self): - ... + def construct(self): ... class ShowResults(Slide): - def construct(self): - ... + def construct(self): ... ``` Each class can now be rendered independently from the command line. When you @@ -179,7 +176,8 @@ def render_worker(args): logger.info(f"Command is {cmd}") try: result = subprocess.run( - cmd, shell=True, check=True, text=True, stdout=subprocess.DEVNULL) + cmd, shell=True, check=True, text=True, stdout=subprocess.DEVNULL + ) if result.returncode == 0: logger.info(f"Finished: {scene_name}") else: @@ -238,7 +236,9 @@ def main(): logger.info("\nAll render jobs completed.") if len(FAILED_SCENES): - logger.warning(f"The following {len(FAILED_SCENES)} scenes had errors: {FAILED_SCENES}.") + logger.warning( + f"The following {len(FAILED_SCENES)} scenes had errors: {FAILED_SCENES}." + ) else: logger.info("All render jobs were successful!") @@ -292,8 +292,7 @@ setting `max_duration_before_split_reverse` to `None`: class Presentation(Slide): max_duration_before_split_reverse = None - def construct(self): - ... + def construct(self): ... ``` ## Minimize TeX Calls