Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

[pre-commit.ci] pre-commit autoupdate (#3784)

pre-commit-ci[bot]31df6d0a2330
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index de2a017cf..826e238d2 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -35,7 +35,7 @@ repos:
- id: python-check-blanket-noqa
name: Precision flake ignores
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.4.4
+ rev: v0.4.5
hooks:
- id: ruff-format
types: [python]
@@ -68,7 +68,7 @@ repos:
files: ^manim/
- repo: https://github.com/codespell-project/codespell
- rev: v2.2.6
+ rev: v2.3.0
hooks:
- id: codespell
files: ^.*\.(py|md|rst)$
diff --git a/manim/scene/scene_file_writer.py b/manim/scene/scene_file_writer.py
index 3b58d2c73..9a2d5eb60 100644
--- a/manim/scene/scene_file_writer.py
+++ b/manim/scene/scene_file_writer.py
@@ -126,7 +126,7 @@ class SceneFileWriter:
self.output_name, config["movie_file_extension"]
)
- # TODO: /dev/null would be good in case sections_output_dir is used without bein set (doesn't work on Windows), everyone likes defensive programming, right?
+ # TODO: /dev/null would be good in case sections_output_dir is used without being set (doesn't work on Windows), everyone likes defensive programming, right?
self.sections_output_dir = Path("")
if config.save_sections:
self.sections_output_dir = guarantee_existence(