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

Fixing bug in state exclusion code. #292

Merged
merged 3 commits into from
Nov 28, 2023
Merged

Conversation

vprusso
Copy link
Owner

@vprusso vprusso commented Nov 28, 2023

Had a silly bug that I patched for state_exclusion.

Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (63ba15d) 98.1% compared to head (7e73db0) 98.1%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #292     +/-   ##
========================================
- Coverage    98.1%   98.1%   -0.1%     
========================================
  Files         295     295             
  Lines        6927    6926      -1     
  Branches      773     772      -1     
========================================
- Hits         6796    6795      -1     
  Misses         90      90             
  Partials       41      41             

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

Copy link
Collaborator

@purva-thakre purva-thakre left a comment

Choose a reason for hiding this comment

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

pylint flagged some things.

************* Module state_opt.state_exclusion
toqito/state_opt/state_exclusion.py:147:4: W0621: Redefining name 'pure_to_mixed' from outer scope (line 5) (redefined-outer-name)
toqito/state_opt/state_exclusion.py:[14](https://github.com/vprusso/toqito/actions/runs/7014095530/job/19081277332#step:6:15)7:4: W0404: Reimport 'pure_to_mixed' (imported line 5) (reimported)
toqito/state_opt/state_exclusion.py:147:4: C04[15](https://github.com/vprusso/toqito/actions/runs/7014095530/job/19081277332#step:6:16): Import outside toplevel (toqito.state_ops.pure_to_mixed) (import-outside-toplevel)

@vprusso
Copy link
Owner Author

vprusso commented Nov 28, 2023

Thanks for flagging those! Fixed and merging now. Thanks for the quick review, @purva-thakre !

@vprusso vprusso merged commit 53b65e1 into master Nov 28, 2023
3 checks passed
@vprusso vprusso deleted the fix-state-exclusion-issue branch November 28, 2023 16:30
@purva-thakre purva-thakre mentioned this pull request Nov 28, 2023
61 tasks
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.

2 participants