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

Miscellaneous type annotation fixes #1356

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

IvanIsCoding
Copy link
Collaborator

Related to #1352

Some minor finds from the discussion, this mostly add annotations to parameters that weren't annotated previously.

bipartite_layout and bellman_ford_shortest_paths were mistakes as the type-specific methoda for PyGraph and PyDiGraph were annotated.

The __setstate__ is for the sake of completeness. Because we annotated __getstate__ as returning Any, the input for the set method should be Any.

@IvanIsCoding IvanIsCoding requested a review from mtreinish January 8, 2025 00:07
@coveralls
Copy link

coveralls commented Jan 8, 2025

Pull Request Test Coverage Report for Build 12770126230

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 95.825%

Totals Coverage Status
Change from base Build 12770043851: 0.0%
Covered Lines: 18360
Relevant Lines: 19160

💛 - Coveralls

@mtreinish mtreinish added this pull request to the merge queue Jan 14, 2025
Merged via the queue into Qiskit:main with commit abef7e2 Jan 14, 2025
31 checks passed
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.

3 participants