Skip to content

Commit f37fb76

Browse files
committed
fix mypy errors
1 parent 2652daf commit f37fb76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymodbus_repl/lib/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
)
7575

7676

77-
class Command:
77+
class Command(dict):
7878
"""Class representing Commands to be consumed by Completer."""
7979

8080
def __init__(self, name, signature, doc, slave=False):

pymodbus_repl/server/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def _print_help():
170170
_print_help()
171171

172172

173-
def print_server_config(server: ReactiveServer, print_server_context: bool = False, *extra) -> dict:
173+
def print_server_config(server: ReactiveServer, print_server_context: bool = False, *extra):
174174
"""Print server config."""
175175
print_formatted_text()
176176
print_formatted_text(HTML("<u>Server Configs:</u>"))

0 commit comments

Comments
 (0)