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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

Pull Request Test Coverage Report for Build 12661435558

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 12653809774: 0.0%
Covered Lines: 18360
Relevant Lines: 19160

💛 - Coveralls

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