mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 16:50:02 +02:00
fix ruff errors
This commit is contained in:
parent
ba5b4e7be4
commit
145ff89072
@ -28,7 +28,7 @@ class Image(DataService):
|
||||
return self._value
|
||||
|
||||
@property
|
||||
def format(self) -> str: # noqa: A003
|
||||
def format(self) -> str:
|
||||
return self._format
|
||||
|
||||
def load_from_path(self, path: Path | str) -> None:
|
||||
|
@ -47,7 +47,7 @@ class SocketIOHandler(logging.Handler):
|
||||
super().__init__(logging.ERROR)
|
||||
self._sio = sio
|
||||
|
||||
def format(self, record: logging.LogRecord) -> str: # noqa: A003
|
||||
def format(self, record: logging.LogRecord) -> str:
|
||||
return f"{record.name}:{record.funcName}:{record.lineno} - {record.message}"
|
||||
|
||||
def emit(self, record: logging.LogRecord) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user