-
Notifications
You must be signed in to change notification settings - Fork 331
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
Upgrade version of mypy #355
Conversation
zzz4zzz
commented
Dec 15, 2019
- Upgrade version of mypy
- Fix typing errors
Codecov Report
@@ Coverage Diff @@
## master #355 +/- ##
==========================================
+ Coverage 97.32% 97.32% +<.01%
==========================================
Files 49 49
Lines 3137 3138 +1
Branches 584 584
==========================================
+ Hits 3053 3054 +1
Misses 44 44
Partials 40 40
|
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.
Thanks for the PR @zzz4zzz , that's a nice upgrade to have. PR looks good to merge as-is, but maybe there are some improvements possible, could you please check the comments?
@lopuhin I've checked your comments and made fixes. Additionaly I've added --ignore-missing-imports to mypy command line and cleaned up imports. |
Thanks @zzz4zzz , and |
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 changes look good. However, after reading about the missing imports command-line option in https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports I think we should consider silencing on a library-by-library basis.
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.
Looks great, thanks @zzz4zzz
However, after reading about the missing imports command-line option in https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports I think we should consider silencing on a library-by-library basis.
@Gallaecio good point, white-listing libraries looks like a good improvement to me 👍 But I'm also fine with merging this PR as-is, and leaving this improvement for future PRs.
Thanks for review @Gallaecio 👍 |