Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix class/def line reporting and ignoring for 3.8+. #6753
Fixes #3871. This change fixes a few things concerning class/function definition line numbers.
For users running mypy with Python 3.8+:
For other users:
About 15 tests had to have their error messages / nodes moved down one line, and 4 new regression tests have been added to