Files
pydantic/tests/mypy/outputs/plugin-fail.txt
T
Samuel Colvin 85e4596958 Move settings to pydantic-settings (#4492)
* Move settings to pydantic-settings

* fix docs, remove dotenv

* fix coverage

* removing unused test fixture
2022-09-07 13:05:51 +01:00

33 lines
2.6 KiB
Plaintext

24: error: Unexpected keyword argument "z" for "Model" [call-arg]
25: error: Missing named argument "y" for "Model" [call-arg]
26: error: Property "y" defined in "Model" is read-only [misc]
27: error: "Model" does not have orm_mode=True [pydantic-orm]
36: error: Unexpected keyword argument "x" for "ForbidExtraModel" [call-arg]
47: error: Unexpected keyword argument "x" for "ForbidExtraModel2" [call-arg]
53: error: Invalid value for "Config.extra" [pydantic-config]
58: error: Invalid value for "Config.orm_mode" [pydantic-config]
63: error: Invalid value for "Config.orm_mode" [pydantic-config]
74: error: Incompatible types in assignment (expression has type "ellipsis", variable has type "int") [assignment]
83: error: Incompatible types in assignment (expression has type "None", variable has type "int") [assignment]
87: error: Missing named argument "a" for "DefaultTestingModel" [call-arg]
87: error: Missing named argument "b" for "DefaultTestingModel" [call-arg]
87: error: Missing named argument "c" for "DefaultTestingModel" [call-arg]
87: error: Missing named argument "d" for "DefaultTestingModel" [call-arg]
87: error: Missing named argument "e" for "DefaultTestingModel" [call-arg]
91: error: Name "Undefined" is not defined [name-defined]
94: error: Missing named argument "undefined" for "UndefinedAnnotationModel" [call-arg]
97: error: Missing named argument "y" for "construct" of "Model" [call-arg]
99: error: Argument "x" to "construct" of "Model" has incompatible type "str"; expected "int" [arg-type]
149: error: Missing named argument "x" for "DynamicAliasModel2" [call-arg]
168: error: Unused "type: ignore" comment
175: error: Unused "type: ignore" comment
182: error: Name "Missing" is not defined [name-defined]
212: error: Property "y" defined in "FrozenModel" is read-only [misc]
233: error: Incompatible types in assignment (expression has type "None", variable has type "int") [assignment]
234: error: Incompatible types in assignment (expression has type "None", variable has type "int") [assignment]
237: error: Incompatible types in assignment (expression has type "Set[Any]", variable has type "str") [assignment]
238: error: Incompatible types in assignment (expression has type "str", variable has type "int") [assignment]
240: error: Argument "default_factory" to "Field" has incompatible type "int"; expected "Optional[Callable[[], Any]]" [arg-type]
243: error: Field default and default_factory cannot be specified together [pydantic-field]
253: error: Missing positional argument "self" in call to "instance_method" of "ModelWithAnnotatedValidator" [call-arg]