File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1- """Command Completion for pymodbus REPL. """
1+ """Command Completion for pymodbus REPL."""
22from prompt_toolkit .application .current import get_app
33
44# pylint: disable=missing-type-doc
55from prompt_toolkit .completion import Completer , Completion
66from prompt_toolkit .filters import Condition
77
8- from pymodbus_repl .lib .helper import get_commands , Command
8+ from pymodbus_repl .lib .helper import Command , get_commands
99
1010
1111@Condition
Original file line number Diff line number Diff line change 1313from prompt_toolkit .formatted_text import HTML , PygmentsTokens
1414from prompt_toolkit .styles import Style
1515from pygments .lexers .data import JsonLexer
16- from pymodbus .payload import BinaryPayloadDecoder , Endian
16+ from pymodbus .constants import Endian
17+ from pymodbus .payload import BinaryPayloadDecoder
1718
1819
1920predicate = inspect .isfunction
Original file line number Diff line number Diff line change 2727 ModbusSparseDataBlock ,
2828)
2929from pymodbus .device import ModbusDeviceIdentification
30+ from pymodbus .framer import (
31+ FramerAscii ,
32+ FramerRTU ,
33+ FramerSocket ,
34+ FramerTLS ,
35+ )
3036from pymodbus .logging import Log
3137from pymodbus .pdu import ExceptionResponse
3238from pymodbus .server import (
3541 ModbusTlsServer ,
3642 ModbusUdpServer ,
3743)
38- from pymodbus .framer import (
39- FramerAscii ,
40- FramerRTU ,
41- FramerSocket ,
42- FramerTLS ,
43- )
4444
4545
4646SERVER_MAPPER = {
You can’t perform that action at this time.
0 commit comments