plugin
version is the mypy version string.
We might want to use this to print a warning if the mypy version being used is newer, or especially older, than we expect (or need).
Args: version: The mypy version string.
Return: The Pydantic mypy plugin type.
def plugin(
version: string
) - > type[Plugin]
version is the mypy version string.
We might want to use this to print a warning if the mypy version being used is newer, or especially older, than we expect (or need).
Parameters
| Name | Type | Description |
|---|---|---|
| version | string | The mypy version string. |
Returns
| Type | Description |
|---|---|
type[Plugin] | The Pydantic mypy plugin type. |