Files
pydantic/tests/mypy/outputs/plugin_default_factory.txt
T
Samuel Colvin 02cf7f5d7b fix mypy with default_factory=list etc. (#4471)
* fix mypy with default_factory=list etc.

* fix tests

* add error case
2022-09-05 11:01:43 +01:00

3 lines
240 B
Plaintext

20: error: Incompatible types in assignment (expression has type "List[int]", variable has type "List[str]") [assignment]
21: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "int") [assignment]