-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 typing to discrete distributions #6410
Add typing to discrete distributions #6410
Conversation
Thanks for contributing to PyMC! |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6410 +/- ##
==========================================
- Coverage 91.99% 91.97% -0.02%
==========================================
Files 94 94
Lines 15944 15945 +1
==========================================
- Hits 14667 14665 -2
- Misses 1277 1280 +3
|
It seems like the new typing has introduced a mypy error that didn't exist before in (Also, apologies for not commenting on #5358 before starting this. I'll make sure to do that more effectively going forward.) |
Has this PR been superseded by others? Not sure who to ping: @OriolAbril ? |
I have no idea about typing, sorry |
Sorry, I thought this PR was part of some sprint |
It seems the type-hints are still missing on main. @jessica-writes-code can you fix the conflicts that have emerged in the PR? |
@ricardoV94 Changes made! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks @jessica-writes-code
@ricardoV94 Mypy check is failing. See my comment from Dec 25. Happy to pursue either option or any alternative you suggest! |
I am closing this one as a long time has passed. Type hints may already have been improved in the meantime. Feel free to reopen a PR if type hints are still missing. Thanks for the help! |
What is this PR about?
Per #5358 , it would be nice to have type hints for distribution parameters.
Checklist
Major / Breaking Changes
New features
Bugfixes
Documentation
Maintenance