Skip to content

Conversation

@NathanEmb
Copy link
Contributor

@NathanEmb NathanEmb commented Dec 7, 2024

Very small PR to just add two type hints to the League and Team objects for usability. Found myself very often having to jump into source code to use the objects instead of just relying on IDE type hints.

AFAIK this is backwards compatible to all python versions but if there are specific tests or something to be shown let me know.

@NathanEmb
Copy link
Contributor Author

@cwendt94 let me know if there's anything needed to support this small addition

@cwendt94
Copy link
Owner

cwendt94 commented Dec 9, 2024

Looks good, thanks for adding!

@cwendt94 cwendt94 merged commit 47a31fd into cwendt94:master Dec 9, 2024
1 check passed
@codecov
Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.18%. Comparing base (216fef4) to head (25bac50).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #616      +/-   ##
==========================================
+ Coverage   83.17%   83.18%   +0.01%     
==========================================
  Files          61       61              
  Lines        2294     2296       +2     
==========================================
+ Hits         1908     1910       +2     
  Misses        386      386              

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

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