From f02ef630cf69976607dbdcb2d9be2ac4d06de012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Mon, 26 Aug 2024 09:42:22 +0200 Subject: [PATCH] chore(lib): pyproject.toml config --- manim_slides/core/config.py | 4 +--- pyproject.toml | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/manim_slides/core/config.py b/manim_slides/core/config.py index 959755e4..c80f1d2c 100644 --- a/manim_slides/core/config.py +++ b/manim_slides/core/config.py @@ -92,9 +92,7 @@ def set_ids(self, *ids: int) -> None: 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 38178204..2a10a5ba 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 = [