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

Lupl/add mypy action #214

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Lupl/add mypy action #214

wants to merge 19 commits into from

Conversation

lu-pl
Copy link
Contributor

@lu-pl lu-pl commented Feb 5, 2025

Closes #133.

@lu-pl lu-pl force-pushed the lupl/add-mypy-action branch 3 times, most recently from de95bb2 to fe94f46 Compare February 5, 2025 18:28
lu-pl added 8 commits February 5, 2025 19:29
Note that _get_model_bool_predicate_from_config_value technically
takes Any and performs runtime type checking with a a wildcard
clause. _TmodelBoolValue is the /intended/ type however and the type
hint should reflect that. Also linters will suggest the intended type
then. This means that a type cast in get_model_predicate is necessary though.
The setting is non-strict for now.
@lu-pl lu-pl force-pushed the lupl/add-mypy-action branch from fe94f46 to 1c2b028 Compare February 5, 2025 18:29
@lu-pl lu-pl requested a review from kevinstadler February 5, 2025 19:05
@lu-pl lu-pl marked this pull request as ready for review February 5, 2025 19:05
@lu-pl lu-pl force-pushed the lupl/add-mypy-action branch from 1c2b028 to 49946a3 Compare February 6, 2025 13:36
@lu-pl lu-pl requested a review from kevinstadler February 6, 2025 13:37
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.

Add mypy gh action
2 participants