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

Add more type hints to datastore #2028

Merged
merged 2 commits into from
Feb 19, 2024
Merged

Add more type hints to datastore #2028

merged 2 commits into from
Feb 19, 2024

Conversation

alexrudd2
Copy link
Collaborator

Add more type hints to datastore. mypy doesn't care, but it eliminates 5 pyright errors.

Also, use Abstract Base Class for BaseModbusDataBlock rather than raise NotImplementedError. (This commit is not necessary for the type hints)

@janiversen janiversen merged commit 5003c2d into dev Feb 19, 2024
1 check passed
@janiversen janiversen deleted the datastore-types branch February 19, 2024 20:19
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
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