Bumps [mypy](https://github.com/python/mypy) from 0.931 to 0.942.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.931...v0.942)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Bump mypy from 0.931 to 0.942
after mypy 0.940, it disabled all class scoped imports because it will
cause crashes.
1. upgrade mypy from 0.931 to 0.942
2. Solve the error `class scoped import` in mypy 0.942