We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rustworkx.layers has typing info stating it returns a list[int], which causes an issue with mypy.
rustworkx.layers
list[int]
Should be list[list[int]].
list[list[int]]
Make use of the function somewhere and run mypy.
The text was updated successfully, but these errors were encountered:
I will send a fix. Thanks for finding the bug.
Until the next version is released you’ll need to ignore the mypy error for those calls or manually call cast
cast
Sorry, something went wrong.
Thank you.
Successfully merging a pull request may close this issue.
Information
What is the current behavior?
rustworkx.layers
has typing info stating it returns alist[int]
, which causes an issue with mypy.What is the expected behavior?
Should be
list[list[int]]
.Steps to reproduce the problem
Make use of the function somewhere and run mypy.
The text was updated successfully, but these errors were encountered: