Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL client help is missing some commands #1686

Closed
alexrudd2 opened this issue Jul 21, 2023 · 0 comments · Fixed by #1687
Closed

REPL client help is missing some commands #1686

alexrudd2 opened this issue Jul 21, 2023 · 0 comments · Fixed by #1687
Labels

Comments

@alexrudd2
Copy link
Collaborator

alexrudd2 commented Jul 21, 2023

The help for the REPL client is missing some commands from help, and instead has client.{c[0]}.

pymodbus.console tcp
❯ pymodbus.console tcp

----------------------------------------------------------------------------
__________          _____             .___  __________              .__
\______   \___.__. /     \   ____   __| _/  \______   \ ____ ______ |  |
 |     ___<   |  |/  \ /  \ /  _ \ / __ |    |       _// __ \\\____ \|  |
 |    |    \___  /    Y    (  <_> ) /_/ |    |    |   \  ___/|  |_> >  |__
 |____|    / ____\____|__  /\____/\____ | /\ |____|_  /\___  >   __/|____/
           \/            \/            \/ \/        \/     \/|__|
                                        v1.3.0 - 3.5.0dev
----------------------------------------------------------------------------

> help
Available commands:
<...>
client.{c[0]}

This was caught by a ruff rule.

RUF011 Dictionary comprehension uses static key: "client.{c[0]}"

@alexrudd2 alexrudd2 added the Bug label Jul 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant