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

More type consistency in mathics.core.definitions #1273

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

mmatera
Copy link
Contributor

@mmatera mmatera commented Jan 8, 2025

This completes the task of adding type annotations to all the methods in the mathics.core.definition module. Also, changes the behavior of Definition.get_* methods, to avoid the use of Optional[...] return values.

… in the mathics.core.definition module. Also, changes the behavior of get_* methods, to avoid the use of Optional[...] return values.
@rocky
Copy link
Member

rocky commented Jan 8, 2025

LGTM. I am glad to see code quality is improving.

@mmatera mmatera merged commit 5e414a5 into master Jan 8, 2025
14 checks passed
@mmatera mmatera deleted the more_type_consistency_in_definitions branch January 8, 2025 21:04
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