FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix accidentally disallowing empty returns in strict-optional by ddfisher · Pull Request #1981 · python/mypy · GitHub

Repository navigation

Fix accidentally disallowing empty returns in strict-optional - #1981

Merged
gvanrossum merged 1 commit into
masterfrom
fix-return-value-expected
Aug 3, 2016
Merged

gvanrossum merged 1 commit into
masterfrom
fix-return-value-expected

Conversation

ddfisher commented Aug 3, 2016

Copy link
Copy Markdown
Collaborator

In #1980, I accidentally introduced a bug which disallowed empty returns in functions declared to return None.
#1980 actually fixed a little over 100 of the mypy --strict-optional mypy errors, but also introduced 88 "Return value expected" errors. This fixes those 88 errors.

gvanrossum merged commit f10bfc7 into master Aug 3, 2016
gvanrossum deleted the fix-return-value-expected branch August 3, 2016 22:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL