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 type hints #18

Merged
merged 35 commits into from
Feb 10, 2024
Merged

Add type hints #18

merged 35 commits into from
Feb 10, 2024

Conversation

tbrlpld
Copy link
Owner

@tbrlpld tbrlpld commented Feb 6, 2024

Description

Checklist

Copy link

codecov bot commented Feb 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (111dddf) 100.00% compared to head (98df83e) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #18   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        13    +1     
  Lines          212       233   +21     
=========================================
+ Hits           212       233   +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Looks like MutableMapping was not well understood.
Also only import what is needed at runtime.
This does not rely on private properties and feels more readable.
This is simpler and seems to go better with mypy.
@tbrlpld tbrlpld marked this pull request as ready for review February 10, 2024 20:17
@tbrlpld tbrlpld merged commit 631884e into main Feb 10, 2024
8 checks passed
@tbrlpld tbrlpld deleted the add-type-hints branch February 10, 2024 21:05
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