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

Pretty print Supported Program Types enum #2352

Merged
merged 1 commit into from
May 8, 2024
Merged

Conversation

cosenal
Copy link
Contributor

@cosenal cosenal commented May 7, 2024

Since the introduction of the Supported Program Types enum in #2276, some error messages are not printed in a pretty way. This PR fixes that.
From

...
Circuit types supported by Mitiq are 
<enum 'SUPPORTED_PROGRAM_TYPES'>.

to

...
Circuit types supported by Mitiq are 
braket, cirq, pennylane, pyquil, qibo, qiskit.

Copy link

codecov bot commented May 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.22%. Comparing base (8b9ba75) to head (7330905).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2352   +/-   ##
=======================================
  Coverage   98.22%   98.22%           
=======================================
  Files          87       87           
  Lines        4056     4059    +3     
=======================================
+ Hits         3984     3987    +3     
  Misses         72       72           

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

@cosenal cosenal requested review from jordandsullivan and natestemen and removed request for natestemen May 8, 2024 07:54
Copy link
Contributor

@jordandsullivan jordandsullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thanks!

@cosenal cosenal merged commit 1aaa054 into main May 8, 2024
18 checks passed
@cosenal cosenal deleted the pretty-print-enum branch May 8, 2024 15:45
cosenal added a commit that referenced this pull request Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants