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

Adding missing type hints #82

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Adding missing type hints #82

merged 2 commits into from
Sep 12, 2024

Conversation

arnobaer
Copy link
Member

This PR adds missing type hints to functions, attributes and methods to provide enhanced support for static type checking, e.g. using mypy.

Also replaced outdated typing types Dict, List, Tuple, Set by built in types dict, list, tuple, set (supported since Python 3.9).

Formatted code using ruff.

@arnobaer arnobaer added the enhancement New feature or request label Sep 12, 2024
@arnobaer arnobaer added this to the 1.1.x milestone Sep 12, 2024
@arnobaer arnobaer self-assigned this Sep 12, 2024
@arnobaer arnobaer merged commit 4add970 into main Sep 12, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant