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

Update ignore for latest mypy #192

Merged
merged 1 commit into from
Jul 20, 2024
Merged

Conversation

woodsp-ibm
Copy link
Member

Summary

Nightly CI is failing following mypy 1.11 release. It seems that the detected error is now different. I changed things to be compatible with the prior version which ends up with two ignores and and unused ignore with each so that the other version does not raise the specific error does not raise another about it being unused.

What with all the suppression there now I can't help but think the code ought to be fixed in some way. But for now it works, i.e. passes unit tests etc. so this simply updates things for CI to pass too.

Details and comments

@woodsp-ibm woodsp-ibm added the stable backport potential The bug might be minimal and/or import enough to be port to stable label Jul 20, 2024
@woodsp-ibm woodsp-ibm requested review from Cryoris and ElePT as code owners July 20, 2024 14:02
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10020768798

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 90.429%

Totals Coverage Status
Change from base Build 9911923672: 0.0%
Covered Lines: 6359
Relevant Lines: 7032

💛 - Coveralls

@woodsp-ibm
Copy link
Member Author

This is just failing tests with main now, as expected, which #188 is done to correct

@woodsp-ibm woodsp-ibm merged commit bf5e903 into qiskit-community:main Jul 20, 2024
17 of 19 checks passed
@woodsp-ibm woodsp-ibm deleted the fix_mypy branch July 20, 2024 14:15
mergify bot pushed a commit that referenced this pull request Jul 20, 2024
mergify bot added a commit that referenced this pull request Jul 20, 2024
Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stable backport potential The bug might be minimal and/or import enough to be port to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants