-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Fix mypy 0.800 plus when prepending $PYTHONPATH to sys.path #5698
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5698 +/- ##
=======================================
- Coverage 93% 93% -0%
=======================================
Files 134 134
Lines 10056 9916 -140
=======================================
- Hits 9399 9236 -163
- Misses 657 680 +23 |
nice, but it seems that for some reason it fails in other places, mind fix it too? |
Do you mean the ~31 other mypy errors? I'd be happy to fix them (I initially didn't because I didn't want the PR to become too bloated) |
This reverts commit fb7ed82.
@Borda I have no idea why those are coming up (they should be ignored, according to |
Hello @sumanthratna! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-02-01 00:25:43 UTC |
yes, it is a known issue with recent 0.800 see python/mypy#8309 |
* Fix mypy when prepending $PYTHONPATH to sys.path * attempt mypy fix * Revert "attempt mypy fix" This reverts commit fb7ed82. * fix mypy Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
* Fix mypy when prepending $PYTHONPATH to sys.path * attempt mypy fix * Revert "attempt mypy fix" This reverts commit fb7ed82. * fix mypy Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
* Fix mypy when prepending $PYTHONPATH to sys.path * attempt mypy fix * Revert "attempt mypy fix" This reverts commit fb7ed82. * fix mypy Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
What does this PR do?
str.split
on NoneBefore submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃