Skip to content

Commit

Permalink
Fix typing.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktBurger committed Feb 26, 2024
1 parent 5bb6f25 commit 9503f81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyleco/json_utils/rpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
try:
from openrpc import RPCServer # type: ignore # noqa: F401
except ModuleNotFoundError:
from .rpc_server_definition import RPCServer # noqa: F401
from .rpc_server_definition import RPCServer # type: ignore # noqa: F401
2 changes: 1 addition & 1 deletion tests/json_utils/test_rpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# Load openrpc server for comparison, if available.
from openrpc import RPCServer as RPCServerOpen
except ModuleNotFoundError:
rpc_server_classes = [RPCServer]
rpc_server_classes: list = [RPCServer]
else:
rpc_server_classes = [RPCServer, RPCServerOpen]

Expand Down

0 comments on commit 9503f81

Please sign in to comment.