Aleksander Vognild Burkow
9044a354cb
Add fallback related manager in final iteration of AddRelatedManagers ( #993 )
...
If a django model has a Manager class that cannot be resolved statically
(if it is generated in a way where we cannot import it, like `objects =
my_manager_factory()`), we fallback to the default related manager, so
you at least get a base level of working type checking.
2022-06-15 18:50:53 +03:00
Aleksander Vognild Burkow
27e5908762
Update project to use mypy 931 ( #819 )
2022-01-17 14:58:16 +03:00
Aleksander Vognild Burkow
ac40b80764
Mention solution to potential PYTHONPATH pitfall. ( #115 )
2019-07-26 18:48:38 +03:00
Aleksander Vognild Burkow
a9c1f35494
Update decimal reveal_type test
2019-02-05 14:30:23 +01:00
Aleksander Vognild Burkow
4ea4c3eddd
Ignore external psycopg2 types
2019-02-05 14:23:06 +01:00
Aleksander Vognild Burkow
6c87ccf228
Add tests for the new fields
2019-02-04 17:15:34 +01:00
Aleksander Vognild Burkow
08bf5660bf
Add additional django field __get__ types
...
These are taken from the corresponding
django/contrib/postgres/fields/ranges.py file.
2019-02-04 17:08:00 +01:00
Aleksander Vognild Burkow
7819165e42
Add decimal field typings
2019-02-04 17:08:00 +01:00
Aleksander Vognild Burkow
9461dbfb4f
Reexport utils.timezone imports
...
These are reexported by django.
2019-02-01 17:05:26 +01:00