Mypy 1.6

We are excited to announce the release of mypy 1.6, a static type checker for Python. This update includes new features, performance improvements, and bug fixes. One noteworthy addition is the introduction of error subcodes for import errors. Mypy now uses the error code “import-untyped” for imports that target installed libraries without static type checking support and no stub files are available. Additionally, mypy no longer supports targeting Python 3.6 and earlier versions. Selective filtering of –disallow-untyped-calls targets and improved type inference between callable types are other notable improvements. We are also planning to enable the experimental new type inference algorithm by default in mypy 1.7. For more information and a full list of changes, please refer to the documentation. We would like to thank all the contributors who helped make this release possible.

https://mypy-lang.blogspot.com/2023/10/mypy-16-released.html

To top