Skip to content

Commit

Permalink
chore(lib): pyproject.toml config
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans committed Aug 26, 2024
1 parent ae8d5b6 commit f02ef63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions manim_slides/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit f02ef63

Please sign in to comment.