Bug
1758345 [wpt PR 33082] - Bump mypy from 0.812 to 0.931 in /tools, a=testonly
Automatic update from web-platform-tests
Bump mypy from 0.812 to 0.931 in /tools (#33082)
Changes to adapt:
* Deals with changes in how mypy handles metaclasses
* Prefers sys.platform == "win32" due to
https://github.com/python/mypy/issues/8166 and mypy not having
WindowsError defined by default any more
* Installs various typestubs
* Rewrites tox.ini to avoid duplicating everything, and allowing new
versions of Python to be easily tested (as tox -e py310-mypy will
now work without further changes).
* Make mypy warn when it thinks code is unreachable.
Co-authored-by: Sam Sneddon <gsnedders@apple.com>
Co-authored-by: Philip Jägenstedt <philip@foolip.org>
--
wpt-commits:
51ad530bef4a8396c5706f508e46f256c21b2a57
wpt-pr: 33082