Join GitHub today
Add new error code for unreachable statement #8312
Michael0x2a left a comment
Thanks for the PR!
I had a few suggestions, but this generally looks good.
Could you also make sure to add a section for this new error code in https://github.com/python/mypy/blob/master/docs/source/error_code_list2.rst? It doesn't need to be anything complicated -- just a short description and example would be great.