Skip to content

Commit

Permalink
hooks: remove a couple of unnecessary slots from _SubsetHookCaller
Browse files Browse the repository at this point in the history
They are specified in the base class, it's wrong to specify in the
subclass.
  • Loading branch information
bluetech committed Jun 20, 2023
1 parent 8c9866d commit b56b4c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pluggy/_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,6 @@ class _SubsetHookCaller(_HookCaller):
__slots__ = (
"_orig",
"_remove_plugins",
"name",
"_hookexec",
)

def __init__(self, orig: _HookCaller, remove_plugins: AbstractSet[_Plugin]) -> None:
Expand Down

0 comments on commit b56b4c3

Please sign in to comment.