Skip to content

Commit

Permalink
style(ruff): enable SLOT
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Jun 21, 2024
1 parent b639c33 commit 714ea6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions oomox_gui/gtk_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

class ActionProperty(str):

__slots__ = ("name", "target")

target: str
name: str

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ select = [
"PYI",
"RSE",
"SLF",
#"SLOT",
"SLOT",
"TD",
"TRIO",
]
Expand Down

0 comments on commit 714ea6f

Please sign in to comment.