From 2d6937eb55a99f14d72cd3a7655b4ba6aeeb2859 Mon Sep 17 00:00:00 2001 From: Dmitri Gavrilov Date: Tue, 13 Feb 2024 12:13:05 -0500 Subject: [PATCH] STY: format with black --- bluesky_queueserver_api/api_base.py | 6 ++---- bluesky_queueserver_api/comm_base.py | 12 ++++-------- bluesky_queueserver_api/console_monitor.py | 6 ++---- 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/bluesky_queueserver_api/api_base.py b/bluesky_queueserver_api/api_base.py index f0f9a19..ff503d3 100644 --- a/bluesky_queueserver_api/api_base.py +++ b/bluesky_queueserver_api/api_base.py @@ -11,12 +11,10 @@ from .item import BItem -class WaitTimeoutError(TimeoutError): - ... +class WaitTimeoutError(TimeoutError): ... -class WaitCancelError(TimeoutError): - ... +class WaitCancelError(TimeoutError): ... class WaitMonitor: diff --git a/bluesky_queueserver_api/comm_base.py b/bluesky_queueserver_api/comm_base.py index b905dcd..3052936 100644 --- a/bluesky_queueserver_api/comm_base.py +++ b/bluesky_queueserver_api/comm_base.py @@ -79,20 +79,16 @@ } -class RequestParameterError(Exception): - ... +class RequestParameterError(Exception): ... -class HTTPRequestError(httpx.RequestError): - ... +class HTTPRequestError(httpx.RequestError): ... -class HTTPClientError(httpx.HTTPStatusError): - ... +class HTTPClientError(httpx.HTTPStatusError): ... -class HTTPServerError(httpx.HTTPStatusError): - ... +class HTTPServerError(httpx.HTTPStatusError): ... class RequestTimeoutError(TimeoutError): diff --git a/bluesky_queueserver_api/console_monitor.py b/bluesky_queueserver_api/console_monitor.py index 8deeafa..8bb9c8a 100644 --- a/bluesky_queueserver_api/console_monitor.py +++ b/bluesky_queueserver_api/console_monitor.py @@ -606,8 +606,7 @@ def __init__(self, *, parent, poll_period, max_msgs, max_lines): self._console_output_last_msg_uid = "" super().__init__(max_msgs=max_msgs, max_lines=max_lines) - def _monitor_init(self): - ... + def _monitor_init(self): ... def _thread_receive_msgs(self): with self._monitor_thread_lock: @@ -763,8 +762,7 @@ def __init__(self, *, parent, poll_period, max_msgs, max_lines): self._console_output_last_msg_uid = "" super().__init__(max_msgs=max_msgs, max_lines=max_lines) - def _monitor_init(self): - ... + def _monitor_init(self): ... async def _task_receive_msgs(self): async with self._monitor_task_lock: