From 56676d906b900c9dc71526aabaa272647b7b06c8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 18:17:00 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../_demo/_demo_command_line_interface.py | 12 +++--------- src/tqdm_publisher/_demo/_multiple/_server.py | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/tqdm_publisher/_demo/_demo_command_line_interface.py b/src/tqdm_publisher/_demo/_demo_command_line_interface.py index f0586bf..287e0cf 100644 --- a/src/tqdm_publisher/_demo/_demo_command_line_interface.py +++ b/src/tqdm_publisher/_demo/_demo_command_line_interface.py @@ -4,20 +4,14 @@ import webbrowser from pathlib import Path -from tqdm_publisher._demo._single_bar._server import run_single_bar_demo from tqdm_publisher._demo._multiple._server import run_multiple_bar_demo +from tqdm_publisher._demo._single_bar._server import run_single_bar_demo CLIENT_PORT = 1234 DEMOS = { - "single": dict( - subpath="_single_bar", - server=run_single_bar_demo - ), - "multiple": dict( - subpath="_multiple", - server=run_multiple_bar_demo - ) + "single": dict(subpath="_single_bar", server=run_single_bar_demo), + "multiple": dict(subpath="_multiple", server=run_multiple_bar_demo), # "parallel": "_parallel", } diff --git a/src/tqdm_publisher/_demo/_multiple/_server.py b/src/tqdm_publisher/_demo/_multiple/_server.py index 60a8ff3..69f9a8c 100644 --- a/src/tqdm_publisher/_demo/_multiple/_server.py +++ b/src/tqdm_publisher/_demo/_multiple/_server.py @@ -61,4 +61,4 @@ async def spawn_server() -> None: def run_multiple_bar_demo() -> None: """Trigger the execution of the asynchronous spawn.""" - asyncio.run(spawn_server()) \ No newline at end of file + asyncio.run(spawn_server())