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

Improve type hinting throughout ENTMOOT #41

Merged
merged 5 commits into from
Jul 3, 2024

Conversation

TobyBoyne
Copy link
Collaborator

Many key parts of the codebase were missing typehints, or failing pyright checks. There were some inconsistencies with types found over the course of this PR (including #40). These sort of issues lead to problems such as #29.

This PR implements more type annotations, making it easier to catch bugs early and improving the dev experience when using ENTMOOT.

This PR also includes a pin to the pyomo version number to 6.7.0 to fix an issue with the pipeline tests failing.

@TobyBoyne TobyBoyne merged commit 835694e into cog-imperial:master Jul 3, 2024
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.

1 participant