Using a development mypy build
You can install the latest development version of mypy from source. Clone themypy repository on GitHub, and then runpip install
locally:
- git clone --recurse-submodules https://github.com/python/mypy.git
- cd mypy
- sudo python3 -m pip install --upgrade .