Files
django-stubs/django-stubs/core
Seth Yastrov 71fb0432f3 52/model subtypes dont typecheck (#55)
* Fix problem where Model instancess are not considered subtypes of each other due to fallback_to_any = True. Fixes #52.

- Added a stub for __getstate__ to Model.
- Added a stub for clean() to Model.
- Correct arg type for sort_dependencies so they are covariant (Iterable rather than List).

Test ignores:
- Added some test ignores in cases where a model inherits from 2 different base models.
- Added some test ignores for cases that MyPy flags as errors due to variable redefinitions or imports that are incompatible types.

* Address review comment.
2019-03-28 23:13:02 +03:00
..
2019-01-30 16:12:19 +03:00
2019-02-22 02:55:49 +03:00
2019-02-06 14:29:42 +03:00
2018-11-13 20:13:28 +03:00
2019-02-20 15:22:46 +03:00
2019-02-06 14:29:42 +03:00
2018-12-21 01:17:17 +03:00