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

Refactor/DRY: use use_hexlify_packets #536

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

Cougar
Copy link
Contributor

@Cougar Cougar commented Oct 4, 2020

There is still some code where hex debug strings were composed using hex(byte2int(x)) and list comprehensions. Exactly the same code has been made available via pymodbus.utilities.hexlify_packets(). Lets use this fuction everywhere to keep code nice and clean.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 4, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
5.9% 5.9% Duplication

@dhoomakethu
Copy link
Contributor

@Cougar please raise the PR against the dev branch.

@Cougar
Copy link
Contributor Author

Cougar commented Oct 18, 2020

@Cougar please raise the PR against the dev branch.

I did that in #549 now

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

Successfully merging this pull request may close these issues.

2 participants