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

Clean up ModbusControlBlock #2288

Merged
merged 3 commits into from
Aug 9, 2024
Merged

Clean up ModbusControlBlock #2288

merged 3 commits into from
Aug 9, 2024

Conversation

alexrudd2
Copy link
Collaborator

Use _ instead of __ for private attributes. Name mangling is not required and this makes pylint and mypy happier.

Also, use properties as intended instead of calling a setter.

@janiversen janiversen merged commit 2b2dd06 into dev Aug 9, 2024
1 check passed
@janiversen janiversen deleted the MCB branch August 9, 2024 05:44
@janiversen
Copy link
Collaborator

Wow, you just touched the oldest untouched code.

I have no idea why it was done with __.

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