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

Improve type hints #7532

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Type some functions in util.py

b98c47e
Select commit
Loading
Failed to load commit list.
Open

Improve type hints #7532

Type some functions in util.py
b98c47e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 10, 2024 in 0s

92.76% (+0.06%) compared to 938aff4

View this Pull Request on Codecov

92.76% (+0.06%) compared to 938aff4

Details

Codecov Report

Attention: Patch coverage is 96.42857% with 1 line in your changes missing coverage. Please review.

Project coverage is 92.76%. Comparing base (938aff4) to head (b98c47e).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
pymc/backends/__init__.py 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #7532      +/-   ##
==========================================
+ Coverage   92.69%   92.76%   +0.06%     
==========================================
  Files         104      104              
  Lines       17409    17403       -6     
==========================================
+ Hits        16138    16144       +6     
+ Misses       1271     1259      -12     
Files with missing lines Coverage Δ
pymc/backends/arviz.py 95.76% <ø> (ø)
pymc/backends/base.py 88.44% <ø> (ø)
pymc/distributions/custom.py 95.54% <ø> (ø)
pymc/distributions/distribution.py 91.89% <100.00%> (ø)
pymc/gp/hsgp_approx.py 88.39% <ø> (ø)
pymc/initial_point.py 99.09% <100.00%> (+0.05%) ⬆️
pymc/logprob/mixture.py 95.70% <100.00%> (ø)
pymc/model/fgraph.py 97.94% <ø> (ø)
pymc/sampling/forward.py 96.15% <ø> (ø)
pymc/sampling/jax.py 94.78% <ø> (ø)
... and 3 more