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

Basketball - Add player and team typehints #616

Merged
merged 3 commits into from
Dec 9, 2024

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
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