Skip to content

Commit c0bc10d

Browse files
committed
Device.initialize: remove unused *args and **kwargs from function signature
1 parent 0dc4b1e commit c0bc10d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

microscope/devices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def _on_shutdown(self):
250250
pass
251251

252252
@abc.abstractmethod
253-
def initialize(self, *args, **kwargs):
253+
def initialize(self):
254254
"""Initialize the device."""
255255
pass
256256

microscope/testsuite/devices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def __init__(self, *args, **kwargs):
381381
self.sequence_params = []
382382
self.sequence_index = 0
383383

384-
def initialize(self, *args, **kwargs):
384+
def initialize(self):
385385
pass
386386

387387
def _on_shutdown(self):

0 commit comments

Comments
 (0)