CQCL / guppylang

Pythonic quantum-classical programming language
https://pypi.org/project/guppylang
Apache License 2.0
33 stars 3 forks source link

feat!: Add implicit importing of modules #461

Closed mark-koch closed 2 months ago

mark-koch commented 2 months ago

Closes #133 and closes #462.

BREAKING CHANGE: guppy.take_module renamed to guppy.get_module and no longer removes the module from the state.

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 95.45455% with 2 lines in your changes missing coverage. Please review.

Project coverage is 92.00%. Comparing base (ce0f746) to head (f943fe8).

Files with missing lines Patch % Lines
guppylang/decorator.py 92.85% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #461 +/- ## ========================================== + Coverage 91.91% 92.00% +0.08% ========================================== Files 58 58 Lines 5891 5900 +9 ========================================== + Hits 5415 5428 +13 + Misses 476 472 -4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.