-
Notifications
You must be signed in to change notification settings - Fork 7
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(hugr-py): move std extension types/ops in to std
module
#1288
Conversation
hugr-py/src/hugr/std/int.py
Outdated
extension: tys.ExtensionId = "arithmetic.int" | ||
|
||
|
||
_ARG_5 = tys.BoundedNatArg(n=5) |
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.
nit: Call this _ARG_I32
? It's a bit more legible
Not complete, see #1287 Quantum operations left in tests as they are not part of std extensions set (maybe they should be...?)
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1288 +/- ##
==========================================
+ Coverage 87.04% 87.07% +0.02%
==========================================
Files 103 106 +3
Lines 19243 19295 +52
Branches 17073 17073
==========================================
+ Hits 16750 16801 +51
- Misses 1716 1717 +1
Partials 777 777
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
🤖 I have created a release *beep* *boop* --- ## [0.4.0](hugr-py-v0.3.1...hugr-py-v0.4.0) (2024-07-10) ### ⚠ BREAKING CHANGES * **hugr-py:** dataclasses that derive from `ops.Custom` now have to be frozen, and instances cannot be mutated. ### Features * **hugr-py:** `ops.Custom` is now a frozen dataclass ([94702d2](94702d2)) * **hugr-py:** move std extension types/ops in to `std` module ([#1288](#1288)) ([7d82245](7d82245)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Not complete, see #1287
Quantum operations left in tests as they are not part of std extensions set (maybe they should be...?)