Skip to content

Commit

Permalink
Fixed more ruff complains, e.g. in EventEmitter.init()
Browse files Browse the repository at this point in the history
  • Loading branch information
olimaye committed Jan 8, 2025
1 parent 4c9b8c3 commit d9c9089
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions python-ecosys/pymitter/pymitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ class EventEmitter(object):
CB_KEY = "__callbacks"
WC_CHAR = "*"

def __init__(
self, wildcard=False, new_listener=False, max_listeners=-1, delimiter="."
):
def __init__(self, wildcard=False, new_listener=False, max_listeners=-1, delimiter="."):
super(EventEmitter, self).__init__()

self.wildcard = wildcard
Expand Down
1 change: 0 additions & 1 deletion python-ecosys/pymitter/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@


class AllTestCase(unittest.TestCase):

def __init__(self, *args, **kwargs):
super(AllTestCase, self).__init__(*args, **kwargs)

Expand Down

0 comments on commit d9c9089

Please sign in to comment.