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

Utilize local instance of validation.py #35

Merged
merged 2 commits into from
Aug 15, 2023
Merged

Utilize local instance of validation.py #35

merged 2 commits into from
Aug 15, 2023

Conversation

woodsp-ibm
Copy link
Member

Summary

Resolves #32

Details and comments

This makes a local copy of the qiskit.utils validation.py and updates the code to use this. The test case is also switched to test this local instance not the one in Qiskit!

Since that file is only used by algorithms to raise errors, in a way that's consistent if these functions are used, and its all internal no release note is needed as there is no user facing change - a ValueError will still be raised as stated.

@coveralls
Copy link

coveralls commented Aug 3, 2023

Pull Request Test Coverage Report for Build 5867763227

  • 35 of 35 (100.0%) changed or added relevant lines in 7 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 90.035%

Totals Coverage Status
Change from base Build 5867640750: 0.04%
Covered Lines: 6424
Relevant Lines: 7135

💛 - Coveralls

Copy link
Collaborator

@ElePT ElePT left a comment

Choose a reason for hiding this comment

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

LGTM

@mergify mergify bot merged commit 6738c6d into qiskit-community:main Aug 15, 2023
15 checks passed
@woodsp-ibm woodsp-ibm deleted the validation branch August 15, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Figure out what to do about use of qiskit.utils validation.py
3 participants