Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Dec 13, 2024
1 parent 5b86156 commit a8e3f83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mio/devices/wirefree.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class WireFreeConfig(DeviceConfig):

pass


@dataclass(kw_only=True)
class WireFreeMiniscope(Miniscope, RecordingCameraMixin):
"""
Expand Down Expand Up @@ -69,7 +70,6 @@ def __post_init__(self) -> None:
n_pix x 1 array used to store pixels while reading buffers
"""


# --------------------------------------------------
# Properties
# --------------------------------------------------
Expand Down Expand Up @@ -656,10 +656,10 @@ def resolution(self) -> Resolution:
"""Resolution of recorded video"""
return Resolution(self.config.width, self.config.height)

def get(self, key:str) -> Any:
def get(self, key: str) -> Any:
"""get a configuration value by its name"""
return getattr(self.config, key)

def set(self, key:str, value:Any) -> None:
def set(self, key: str, value: Any) -> None:
"""set a configuration value"""
raise NotImplementedError()
raise NotImplementedError()

0 comments on commit a8e3f83

Please sign in to comment.