Files
pydantic/tests/mypy/outputs/plugin-success-strict.txt
Matthew Gamble bc1f09b3e4 Support kwargs model config in Mypy plugin (#4912)
Previously, the Mypy plugin only supported drawing settings from a
Config class. Now, it fully supports drawing settings from class kwargs
too.

Co-authored-by: Matthew Gamble <matthew.gamble@rea-group.com>
2023-01-13 13:54:26 +00:00

6 lines
352 B
Plaintext

30: error: Unexpected keyword argument "z" for "Model" [call-arg]
46: error: Unexpected keyword argument "z" for "KwargsModel" [call-arg]
79: error: Untyped fields disallowed [pydantic-field]
95: error: Untyped fields disallowed [pydantic-field]
106: error: Argument "x" to "OverrideModel" has incompatible type "float"; expected "int" [arg-type]