diff --git a/manim_slides/core/config.py b/manim_slides/core/config.py index 959755e..c80f1d2 100644 --- a/manim_slides/core/config.py +++ b/manim_slides/core/config.py @@ -92,9 +92,7 @@ class Key(BaseModel): # type: ignore[misc] self.ids = list(set(ids)) def match(self, key_id: int) -> bool: - """ - Return whether a given key id matches this key. - """ + """Return whether a given key id matches this key.""" m = key_id in self.ids if m: diff --git a/pyproject.toml b/pyproject.toml index 3817820..2a10a5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -186,10 +186,9 @@ env = [ ] [tool.ruff] -extend-exclude = ["manim_slides/resources.py"] +extend-exclude = ["manim_slides/cli/resources.py"] extend-include = ["*.ipynb"] line-length = 88 -target-version = "py39" [tool.ruff.lint] extend-ignore = [