Files
pydantic/docs
Luca Repetti 460f858cc5 Add mypy static checking for default and default_factory (#3430)
* Add static checking for default and default_factory

* Describe PR change

* Remove unnecessary booleans default_specified and default_factory_specified

* Add test with default without Field

* Apply suggestions from code review

Co-authored-by: Samuel Colvin <samcolvin@gmail.com>

* Fix tests

* Add handling of Overload types for mypy0.971

* Avoid to use walrus operator

* Support mypy 0.910 for overloaded types

* Increase coverage for mypy plugin

Co-authored-by: Samuel Colvin <samcolvin@gmail.com>
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
2022-08-08 13:07:23 +01:00
..
2021-12-18 20:56:14 +00:00
2021-02-25 20:24:28 +00:00
2019-10-14 16:40:25 +01:00
2022-07-04 22:53:11 +02:00
2019-10-07 17:19:01 +01:00
2022-07-11 10:36:46 +02:00
2022-07-04 22:53:11 +02:00
2019-10-07 17:19:01 +01:00
2021-03-01 15:45:06 +00:00