sbi-dev / sbi

Simulation-based inference toolkit
https://sbi-dev.github.io/sbi/
Apache License 2.0
546 stars 133 forks source link

Pyright GitHub action error #1165

Closed manuelgloeckler closed 3 weeks ago

manuelgloeckler commented 3 weeks ago

What does this implement/fix? Explain your changes

Currently just ignores types

Does this close any currently open issues?

Fixes #1162

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 72.95%. Comparing base (66d1f2b) to head (ed25c77).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1165 +/- ## =========================================== - Coverage 83.77% 72.95% -10.83% =========================================== Files 93 93 Lines 7371 7372 +1 =========================================== - Hits 6175 5378 -797 - Misses 1196 1994 +798 ``` | [Flag](https://app.codecov.io/gh/sbi-dev/sbi/pull/1165/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/sbi-dev/sbi/pull/1165/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev) | `72.95% <100.00%> (-10.83%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/sbi-dev/sbi/pull/1165?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev) | Coverage Δ | | |---|---|---| | [sbi/samplers/vi/vi\_pyro\_flows.py](https://app.codecov.io/gh/sbi-dev/sbi/pull/1165?src=pr&el=tree&filepath=sbi%2Fsamplers%2Fvi%2Fvi_pyro_flows.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev#diff-c2JpL3NhbXBsZXJzL3ZpL3ZpX3B5cm9fZmxvd3MucHk=) | `87.69% <100.00%> (ø)` | | | [sbi/utils/pyroutils.py](https://app.codecov.io/gh/sbi-dev/sbi/pull/1165?src=pr&el=tree&filepath=sbi%2Futils%2Fpyroutils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev#diff-c2JpL3V0aWxzL3B5cm91dGlscy5weQ==) | `100.00% <100.00%> (ø)` | | ... and [24 files with indirect coverage changes](https://app.codecov.io/gh/sbi-dev/sbi/pull/1165/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev)