mypy-django icon indicating copy to clipboard operation
mypy-django copied to clipboard

State of the project

Open JakobGM opened this issue 7 years ago • 8 comments

Hi, @dmoisset!

I really like the initiative taken by you and your collegues over at Machinalis. Static type checking for Django on a general basis would be great!

For the moment it is really difficult to investigate the state of static type checking in the Django community. When searching around I have found this repository and several Google usergroup threads heavily involving you, but more recent information is hard to come by.

Is it possible to adress this in the README in this repository? Questions I have are:

  • Are there any plans for pulling these stubs into the official python/typeshed repository?
  • Or is it still the plan to pursue pulling this into upstream Django?
  • What has been your general impression of the Django maintainers interest in doing so?
  • Is the plan to wait for Django 2.0, where Python version 3 can be assumed?

Thanks, Jakob

JakobGM avatar Jul 28 '17 14:07 JakobGM

Great project!

Do you need any help with it?

sobolevn avatar Oct 04 '17 16:10 sobolevn

Any news?

edevil avatar Jan 08 '18 17:01 edevil

Any updates on a project?

cyberbudy avatar Jul 20 '18 07:07 cyberbudy

OK, it's been a year now ... for the ones who already commented, here's a proposal:

  • Create a friendly fork that we can merge stuff back from easily when maintainers come back
  • Chat over at a https://gitter.im/ for the project that we create and see what plans can be made

How does it sound? I can do this if we're in agreement :+1: :+1: :+1:

decentral1se avatar Jul 20 '18 08:07 decentral1se

There was some effort in https://github.com/python/typeshed/issues/1702 to talk about plans.

Is https://www.python.org/dev/peps/pep-0561/ usable now? Can we do that?

decentral1se avatar Jul 20 '18 08:07 decentral1se

@lwm I have some very-very dirty implementation of Queryset that is not yet released: https://github.com/wemake-services/mypy-django-queryset

Please, invite me to collaborate!

sobolevn avatar Jul 20 '18 08:07 sobolevn

@sobolevn, I've invited you to collaborate on https://github.com/lwm/mypy-django!

https://github.com/lwm/mypy-django#this-is-a-friendly-fork

Come one, come all!

decentral1se avatar Jul 22 '18 10:07 decentral1se

Update: we're moving along at https://github.com/TypedDjango/django-stubs#django-stubs now!

decentral1se avatar Jul 30 '18 15:07 decentral1se