Skip to content

Commit

Permalink
STY: format with black
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgav committed Feb 13, 2024
1 parent 49a2c57 commit 2d6937e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
6 changes: 2 additions & 4 deletions bluesky_queueserver_api/api_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
from .item import BItem


class WaitTimeoutError(TimeoutError):
...
class WaitTimeoutError(TimeoutError): ...


class WaitCancelError(TimeoutError):
...
class WaitCancelError(TimeoutError): ...


class WaitMonitor:
Expand Down
12 changes: 4 additions & 8 deletions bluesky_queueserver_api/comm_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
6 changes: 2 additions & 4 deletions bluesky_queueserver_api/console_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2d6937e

Please sign in to comment.