mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-21 07:10:58 +00:00
bc1f09b3e4
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>
6 lines
352 B
Plaintext
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]
|