You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warn no return doesn't understand six.reraise #2474
As far as I can tell, mypy doesn't currently have any special knowledge of six, so it doesn't understand that six.reraise raises an exception. If mypy having special understanding of six seems reasonable, we should add this.
Activity
ddfisher commentedon Nov 21, 2016
Mypy also needs to be taught about other standard library functions which don't return, like
sys.exit.JukkaL commentedon Jan 16, 2017
Marking this as high priority this seems to be a blocker for enabling
--warn-no-returnby default, which we'd like to do.ddfisher commentedon Jan 17, 2017
Planning on doing this after finishing up the fast parser default work.