File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1212from prompt_toolkit import print_formatted_text
1313from prompt_toolkit .formatted_text import HTML , PygmentsTokens
1414from pygments .lexers .data import JsonLexer
15-
1615from pymodbus .payload import BinaryPayloadDecoder , Endian
1716
1817
Original file line number Diff line number Diff line change 1111from prompt_toolkit .lexers import PygmentsLexer
1212from prompt_toolkit .styles import Style
1313from pygments .lexers .python import PythonLexer
14-
1514from pymodbus import __version__ as pymodbus_version
1615from pymodbus .exceptions import ParameterException
17- from pymodbus_repl .client .completer import (
18- CmdCompleter ,
19- has_selected_completion ,
20- )
21- from pymodbus_repl .client .helper import CLIENT_ATTRIBUTES , Result
22- from pymodbus_repl .client .mclient import ModbusSerialClient , ModbusTcpClient
2316from pymodbus .transaction import (
2417 ModbusAsciiFramer ,
2518 ModbusBinaryFramer ,
2619 ModbusRtuFramer ,
2720 ModbusSocketFramer ,
2821)
2922
23+ from pymodbus_repl .client .completer import (
24+ CmdCompleter ,
25+ has_selected_completion ,
26+ )
27+ from pymodbus_repl .client .helper import CLIENT_ATTRIBUTES , Result
28+ from pymodbus_repl .client .mclient import ModbusSerialClient , ModbusTcpClient
29+
3030
3131_logger = logging .getLogger ()
3232
Original file line number Diff line number Diff line change 1010from pathlib import Path
1111
1212import typer
13-
1413from pymodbus import pymodbus_apply_logging_config
1514from pymodbus .framer .socket_framer import ModbusSocketFramer
1615from pymodbus .logging import Log
17- from pymodbus_repl .server .cli import run_repl
1816from pymodbus .server .reactive .default_config import DEFAULT_CONFIG
1917from pymodbus .server .reactive .main import (
2018 DEFAULT_FRAMER ,
2119 ReactiveServer ,
2220)
2321
22+ from pymodbus_repl .server .cli import run_repl
23+
2424
2525CANCELLED_ERROR = asyncio .exceptions .CancelledError
2626CONTEXT_SETTING = {"allow_extra_args" : True , "ignore_unknown_options" : True }
Original file line number Diff line number Diff line change 1+ """Dummy."""
You can’t perform that action at this time.
0 commit comments