From 4b6ddaa7fd13b1640966c5e69ca77ad68b6ea01c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Sun, 24 Mar 2024 20:51:39 +0000 Subject: [PATCH] Black'n --- src/lvmapi/tools/rabbitmq.py | 9 +++------ src/lvmapi/tools/spectrograph.py | 6 ++---- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/lvmapi/tools/rabbitmq.py b/src/lvmapi/tools/rabbitmq.py index af89cc0..5230233 100644 --- a/src/lvmapi/tools/rabbitmq.py +++ b/src/lvmapi/tools/rabbitmq.py @@ -95,8 +95,7 @@ async def send_command( command_string: str, *, raw: Literal[False], -) -> list[dict[str, Any]]: - ... +) -> list[dict[str, Any]]: ... @overload @@ -104,8 +103,7 @@ async def send_command( command_string: str, *, raw: Literal[True], -) -> Command: - ... +) -> Command: ... @overload @@ -113,8 +111,7 @@ async def send_command( command_string: str, *, raw: bool, -) -> list[dict[str, Any]] | Command: - ... +) -> list[dict[str, Any]] | Command: ... async def send_command( diff --git a/src/lvmapi/tools/spectrograph.py b/src/lvmapi/tools/spectrograph.py index 4bc2dba..dcef2e4 100644 --- a/src/lvmapi/tools/spectrograph.py +++ b/src/lvmapi/tools/spectrograph.py @@ -132,13 +132,11 @@ async def get_spectrograph_mechanics(spec: Spectrographs): @overload -async def read_thermistors(interval: float) -> pandas.DataFrame: - ... +async def read_thermistors(interval: float) -> pandas.DataFrame: ... @overload -async def read_thermistors(interval: None) -> dict[str, bool]: - ... +async def read_thermistors(interval: None) -> dict[str, bool]: ... async def read_thermistors(