Skip to content

Commit 2e5ac69

Browse files
authored
Merge branch 'main' into release-v0.18.1
2 parents 602ce08 + 6cb89a0 commit 2e5ac69

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+765
-316
lines changed

.codespell_ignorelines

Lines changed: 0 additions & 1 deletion
This file was deleted.

.codespell_ignorewords

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
nam
2+
sherif
3+
falsy
4+
medias
5+
strager

.codespellrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[codespell]
2-
exclude-file=.codespell_ignorelines
3-
check-hidden=True
4-
ignore-words-list = nam,sherif,falsy
2+
check-hidden = True
3+
skip = .git,*.js,*.js.map,*.css,*.css.map,*.html,*.po,*.pot,poetry.lock,*.log,*.svg
4+
ignore-words = .codespell_ignorewords

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ extend-ignore = E203, W503, D202, D212, D213, D404
1818
# Misc
1919
F401, F403, F405, F841, E501, E731, E402, F811, F821,
2020

21+
# multiple statements on one line (overload)
22+
E704,
23+
2124
# Plug-in: flake8-builtins
2225
A001, A002, A003,
2326

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
os: [ubuntu-22.04, macos-latest, windows-latest]
25+
os: [ubuntu-22.04, macos-13, windows-latest]
2626
python: ["3.9", "3.10", "3.11", "3.12"]
2727

2828
steps:

.pre-commit-config.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ fail_fast: false
33
exclude: ^(manim/grpc/gen/|docs/i18n/)
44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.4.0
6+
rev: v4.6.0
77
hooks:
88
- id: check-ast
99
name: Validate Python
@@ -13,7 +13,7 @@ repos:
1313
- id: check-toml
1414
name: Validate Poetry
1515
- repo: https://github.com/pycqa/isort
16-
rev: 5.12.0
16+
rev: 5.13.2
1717
hooks:
1818
- id: isort
1919
name: isort (python)
@@ -24,7 +24,7 @@ repos:
2424
name: isort (pyi)
2525
types: [pyi]
2626
- repo: https://github.com/asottile/pyupgrade
27-
rev: v3.10.1
27+
rev: v3.15.2
2828
hooks:
2929
- id: pyupgrade
3030
name: Update code to new python versions
@@ -35,16 +35,17 @@ repos:
3535
- id: python-check-blanket-noqa
3636
name: Precision flake ignores
3737
- repo: https://github.com/psf/black
38-
rev: 23.7.0
38+
rev: 24.4.0
3939
hooks:
4040
- id: black
4141
- repo: https://github.com/asottile/blacken-docs
42-
rev: 1.15.0
42+
rev: 1.16.0
4343
hooks:
4444
- id: blacken-docs
45-
additional_dependencies: [black==22.3.0]
45+
additional_dependencies: [black==24.4.0]
46+
exclude: ^\.github/
4647
- repo: https://github.com/PyCQA/flake8
47-
rev: 6.1.0
48+
rev: 7.0.0
4849
hooks:
4950
- id: flake8
5051
additional_dependencies:
@@ -58,7 +59,7 @@ repos:
5859
flake8-simplify==0.14.1,
5960
]
6061
- repo: https://github.com/pre-commit/mirrors-mypy
61-
rev: v1.5.1
62+
rev: v1.9.0
6263
hooks:
6364
- id: mypy
6465
additional_dependencies:
@@ -72,7 +73,7 @@ repos:
7273
files: ^manim/
7374

7475
- repo: https://github.com/codespell-project/codespell
75-
rev: v2.2.5
76+
rev: v2.2.6
7677
hooks:
7778
- id: codespell
7879
files: ^.*\.(py|md|rst)$

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
furo
22
myst-parser
3-
sphinx<5.1
3+
sphinx>=7.3
44
sphinx-copybutton
55
sphinxext-opengraph

docs/source/contributing/docs/docstrings.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ Example:
7777
The mobject linked to this instance.
7878
"""
7979
80-
def __init__(name: str, id: int, singleton: MyClass, mobj: Mobject = None):
81-
...
80+
def __init__(name: str, id: int, singleton: MyClass, mobj: Mobject = None): ...
8281
8382
2. The usage of ``Parameters`` on functions to specify how
8483
every parameter works and what it does. This should be excluded if

docs/source/contributing/docs/typings.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ Typing guidelines
8484
T = TypeVar("T")
8585
8686
87-
def copy(self: T) -> T:
88-
...
87+
def copy(self: T) -> T: ...
8988
9089
* Use ``typing.Iterable`` whenever the function works with *any* iterable, not a specific type.
9190

docs/source/guides/add_voiceovers.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ and then record it during rendering:
3838
from manim_voiceover import VoiceoverScene
3939
from manim_voiceover.services.recorder import RecorderService
4040
41+
4142
# Simply inherit from VoiceoverScene instead of Scene to get all the
4243
# voiceover functionality.
4344
class RecorderExample(VoiceoverScene):

0 commit comments

Comments
 (0)