chore(lib): pyproject.toml config

This commit is contained in:
Jérome Eertmans
2024-08-26 09:42:22 +02:00
parent ae8d5b6aab
commit f02ef630cf
2 changed files with 2 additions and 5 deletions

View File

@ -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:

View File

@ -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 = [