Petter Friberg
8aae836a26
Model.__init__ supporting same typing as assigment (#835 )
...
* `Model.__init__` supporting same typing as assigment
* Update mypy_django_plugin/django/context.py
2022-01-29 12:07:26 +03:00
Nikita Sobolev
b883e192e4
Adds better id and pk handling ( #791 )
2021-12-18 13:09:22 +03:00
Nikita Sobolev
eb80b949af
Refs #774 ( #777 )
...
* Refs #774
* Update test_create.yml
2021-12-15 15:53:24 +03:00
Nikita Sobolev
7ac33f3a28
Fixes CI ( #734 )
...
* Fixes CI
* Fixes CI
* Fixes CI
2021-10-19 14:10:25 +03:00
snmishra
ee51aa4bf8
Add datetime to DateTimeField ( #675 )
...
* Add datetime to set_type of DateTimeField
`DateTimeField` was missing `datetime` as a valid set type. But Django clearly accepts `datetime`.
* Fix test for DateTimeField type change
datetime is now a valid set type for DateTimeField
2021-07-25 13:06:22 +03:00
Petter Friberg
cc5d363cfa
Add end-of-file-fixer hook to pre-commit ( #668 )
2021-07-12 00:48:36 +03:00
Cesar Canassa
77f9926ce1
fix tests for mypy 0.900 ( #641 )
2021-06-12 01:05:46 +03:00
Anton Agestam
248f1cccee
Adjust Postgres indexes for Django 3.2 ( #616 )
2021-05-19 09:49:01 +03:00
Hannes Ljungberg
e8a97e301c
[3.2] Adjust model indexes ( #587 )
2021-04-13 13:18:13 +03:00
proxi
caaa23ab8f
convince mypy that user.is_staff (and friends) are booleans ( #542 )
...
closes #512
Co-authored-by: proxi <51172302+3n-k1@users.noreply.github.com >
2020-12-16 23:28:01 +03:00
Na'aman Hirschfeld
44151c485d
updated package setup ( #485 )
...
* updated package setup
* updated to use python 3.9
* fixed test runner
* fixed typecheck tests
* fixed discrepencies
* added override to runner
* updated travis
* updated pre-commit hooks
* updated dep
2020-10-29 11:59:48 +03:00