Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 14, 2024
1 parent 713ec0f commit 56676d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions src/tqdm_publisher/_demo/_demo_command_line_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}

Expand Down
2 changes: 1 addition & 1 deletion src/tqdm_publisher/_demo/_multiple/_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
asyncio.run(spawn_server())

0 comments on commit 56676d9

Please sign in to comment.