Skip to content

Conversation

@MAKOMO
Copy link
Contributor

@MAKOMO MAKOMO commented Oct 24, 2024

To use write_registers type correctly with inhomogeneous lists of type list[int] or list[bytes] as values, we promote the type of the parameter values from list to Sequence (see Issue #2368)

Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@janiversen
Copy link
Collaborator

FYI, in the main directory you will find check_ci.sh a small utility that runs like CI, but locally and thereby allow ruff and others to automatically change the code, instead of just suggesting it.

@janiversen janiversen merged commit 144e43b into pymodbus-dev:dev Oct 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants