Typical comes packaged with a simple plugin for mypy which will
greatly improve the static type-checking of your
All that’s needed is to add
typic.mypy as a plugin in your
mypy.ini like so. A simple
mypy.ini may look like so:
[mypy] follow_imports = silent plugins = typic.mypy
For more information on MyPy plugins and configuration, see their docs.
A basic, functional plugin is currently available. It is not hosted on the Marketplace quite yet, as it is missing a few key features, but it provides auto-completion for your model’s parameters and type introspection of the parameter’s annotations.
The repository can be found here.