Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Updated setup.cfg mypy flags and resolved related errors. #703
Updated setup.cfg mypy flags and resolved related errors. #703
Changes from all commits
a74ef96
8b1d198
cb58600
1eb64ae
0ad2a38
0313deb
2d5307f
82cbf42
81f9f36
c1b2bd1
3c9aaa3
1de9958
cc8224e
2538ea3
b737249
60a2202
fde3a97
481a8ec
9a261e1
06762be
25094c2
1ee80eb
a9d097b
d7ee476
841adf5
9c2d636
78f57fa
ffbcb43
e417189
ec2745b
e6399be
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't love the
#type: ignore
. If there isn't a way to avoid this, that's okay. But IIRC, in prior PRs we are tried to avoid this, @Sanketh7?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue I was having was that there's just a lot of types involved and numpy's type annotations aren't very specific to help mypy out. Mypy sort of gives up and says that you're trying to assign an
object
toList[str]
andList[np.ndarray]
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i see