Skip to content

Commit

Permalink
fix mypy fail caused by python/mypy#13969
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Feb 7, 2023
1 parent ca9952a commit 4eccc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cylc/flow/network/client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_runtime_client(
if comms_method == CommsMeth.SSH:
from cylc.flow.network.ssh_client import WorkflowRuntimeClient
else:
from cylc.flow.network.client import ( # type: ignore[no-redef]
from cylc.flow.network.client import ( # type: ignore[assignment]
WorkflowRuntimeClient
)
return WorkflowRuntimeClient(workflow, timeout=timeout)
Expand Down

0 comments on commit 4eccc50

Please sign in to comment.