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

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

Python lints.

fb1ac5f
Select commit
Loading
Failed to load commit list.
Open

feat: Python bindings for hugr-model. #1959

Python lints.
fb1ac5f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 20, 2025 in 0s

82.55% (-1.19%) compared to 6bd7665

View this Pull Request on Codecov

82.55% (-1.19%) compared to 6bd7665

Details

Codecov Report

Attention: Patch coverage is 24.65582% with 602 lines in your changes missing coverage. Please review.

Project coverage is 82.55%. Comparing base (6bd7665) to head (fb1ac5f).

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 43.75% 9 Missing ⚠️
hugr-py/src/hugr/hugr/base.py 42.85% 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.73%   82.55%   -1.19%     
==========================================
  Files         209      212       +3     
  Lines       39266    40061     +795     
  Branches    35937    36265     +328     
==========================================
+ Hits        32879    33071     +192     
- Misses       4541     5144     +603     
  Partials     1846     1846              

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