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

feat: Python bindings for hugr-model. #1959

Merged
merged 4 commits into from
Mar 26, 2025

Rust lints.

d653290
Select commit
Loading
Failed to load commit list.
Merged

feat: Python bindings for hugr-model. #1959

Rust lints.
d653290
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 26, 2025 in 0s

82.62% (-1.17%) compared to 41905f9

View this Pull Request on Codecov

82.62% (-1.17%) compared to 41905f9

Details

Codecov Report

Attention: Patch coverage is 24.53066% with 603 lines in your changes missing coverage. Please review.

Project coverage is 82.62%. Comparing base (41905f9) to head (d653290).

Files with missing lines Patch % Lines
hugr-model/src/v0/ast/python.rs 0.00% 246 Missing ⚠️
hugr-py/src/hugr/model/export.py 9.66% 215 Missing ⚠️
hugr-model/src/v0/mod.rs 0.00% 78 Missing ⚠️
hugr-py/src/hugr/tys.py 44.26% 34 Missing ⚠️
hugr-py/src/hugr/model/__init__.py 90.44% 13 Missing ⚠️
hugr-py/src/hugr/val.py 41.17% 10 Missing ⚠️
hugr-py/src/hugr/hugr/base.py 33.33% 4 Missing ⚠️
hugr-py/src/hugr/std/collections/array.py 75.00% 1 Missing ⚠️
hugr-py/src/hugr/std/float.py 66.66% 1 Missing ⚠️
hugr-py/src/hugr/std/int.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1959      +/-   ##
==========================================
- Coverage   83.79%   82.62%   -1.17%     
==========================================
  Files         211      214       +3     
  Lines       39757    40552     +795     
  Branches    36435    36763     +328     
==========================================
+ Hits        33314    33506     +192     
- Misses       4567     5170     +603     
  Partials     1876     1876              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.