Skip to content

Commit

Permalink
Trying to make CI happy: delete kw_only=True (new in python 3.10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Jul 7, 2023
1 parent 77214b1 commit d9b209d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions porcupine/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
action_availability_callback = Callable[[], bool]


@dataclass(kw_only=True, slots=True, frozen=True)
@dataclass(slots=True, frozen=True)
class Action:
"""Action that requires no context in the callback"""

Expand All @@ -21,7 +21,7 @@ class Action:
filetab_action_availability_callback = Callable[[FileTab], bool]


@dataclass(kw_only=True, slots=True, frozen=True)
@dataclass(slots=True, frozen=True)
class FileTabAction:
"""Action that requires a FileTab to be provided to the callback"""

Expand All @@ -34,7 +34,7 @@ class FileTabAction:
path_action_availability_callback = Callable[[Path], bool]


@dataclass(kw_only=True, slots=True, frozen=True)
@dataclass(slots=True, frozen=True)
class PathAction:
"""Action that requires a Path to be provided to the callback"""

Expand Down

0 comments on commit d9b209d

Please sign in to comment.