Commit Graph

557 Commits

Author SHA1 Message Date
Maxim Kurnikov
17be428776 add support for FIELDNAME_id for foreignkey/onetoonefield 2018-11-13 18:36:46 +03:00
Maxim Kurnikov
dc4f606f63 add support for OneToOneField, more stubs 2018-11-13 17:43:21 +03:00
Maxim Kurnikov
155dc4e049 sync mypy 2018-11-13 17:29:23 +03:00
Maxim Kurnikov
11b6b360b6 some cleanups 2018-11-12 16:24:35 +03:00
Maxim Kurnikov
919e4a5c9f add travis config 2018-11-12 16:24:04 +03:00
Maxim Kurnikov
2a16bb04e5 add related_name manager to ForeignKey model 2018-11-11 02:08:05 +03:00
Maxim Kurnikov
c32a7842d6 add ForeignKey 2018-11-10 20:03:09 +03:00
Maxim Kurnikov
233e047117 add more fields and more tests 2018-11-10 19:42:45 +03:00
Maxim Kurnikov
0ab77f8f05 add plugin support for ArrayField base_field 2018-11-10 19:31:06 +03:00
Maxim Kurnikov
0bd4bc98fc add missing plugin entrypoint, add plugins.ini mypy config with plugins specified 2018-11-10 18:32:08 +03:00
Maxim Kurnikov
a6580af216 add clean django-stubs folder, add some tests 2018-11-10 18:16:44 +03:00
Maxim Kurnikov
96cd3ddb27 move generated stubs to separate directory, too messty 2018-11-10 17:49:18 +03:00
Maxim Kurnikov
7436d641e3 add pytest config for testing infrastructure 2018-11-10 17:37:03 +03:00
Maxim Kurnikov
1016ece491 add basic test infrastructure 2018-11-10 16:56:38 +03:00
Maxim Kurnikov
ab14ccbbc1 remove pipfile's 2018-11-10 16:49:57 +03:00
Maxim Kurnikov
a53fbc5d63 add dev-requirements like in sqlalchemy-stubs 2018-11-10 16:38:08 +03:00
Maxim Kurnikov
63be2a3668 add mypy as submodule 2018-11-10 16:24:11 +03:00
Maxim Kurnikov
2cdefc4662 more fixes for django stubs, first attempt for a plugin 2018-10-12 01:56:25 +03:00
Maxim Kurnikov
b93f589cff fix render() signature 2018-10-04 03:51:31 +03:00
Maxim Kurnikov
bb701d6615 cleanup core.handlers.wsgi 2018-10-04 03:49:25 +03:00
Maxim Kurnikov
3d7b517e59 support for some Field -> builtin type mapping, OneToOneField, ForeignKey 2018-10-04 03:35:09 +03:00
Maxim Kurnikov
97ec73411e stubs improvements 2018-10-04 03:35:09 +03:00
Maxim Kurnikov
c8c5f8b51b stubs for manager/testcases 2018-10-04 03:35:09 +03:00
Maxim Kurnikov
f500391748 initial work for django plugin 2018-10-04 03:35:09 +03:00
lwm
bbdaebb244 Merge pull request #10 from mkurnikov/master
Latest changes from Monkeytype fork
2018-09-26 21:32:19 +02:00
Maxim Kurnikov
7954c1bb90 add DoesNotExist exception to Model 2018-09-26 17:05:42 +03:00
Maxim Kurnikov
8a0cad7c69 add missing __init__pyi imports 2018-09-26 16:56:50 +03:00
Maxim Kurnikov
69b7c8f684 fix imports in django.http.response.pyi 2018-09-26 16:32:17 +03:00
Maxim Kurnikov
2676b335f1 add __init__.pyi files to all directories when it doesnt exist 2018-09-16 02:55:00 +03:00
Maxim Kurnikov
511ef52aee more cleanups 2018-08-16 13:03:03 +03:00
Maxim Kurnikov
c0966a5750 more cleanups 2018-08-14 13:33:49 +03:00
Maxim Kurnikov
2b7b31a25e more cleanups: http 2018-08-14 13:25:23 +03:00
Maxim Kurnikov
23d431b5c5 more cleanups, queryset first draft 2018-08-14 13:21:45 +03:00
Maxim Kurnikov
5e2e5feef4 migrations stubs improvements 2018-08-14 12:41:05 +03:00
Maxim Kurnikov
7df3bf44cb update to django==2.1 2018-08-14 12:20:40 +03:00
Maxim Kurnikov
ca5f489092 cleanups 2018-08-14 12:09:47 +03:00
Maxim Kurnikov
a13d4c352a fifth iteration 2018-08-14 12:01:01 +03:00
Maxim Kurnikov
8cc446150c fourth iteration 2018-08-11 02:23:18 +03:00
Maxim Kurnikov
c6bceb19f4 third iteration of stubs 2018-08-11 00:19:50 +03:00
Maxim Kurnikov
fa718b8e55 better stubs 2018-08-05 03:13:19 +03:00
Luke Murphy
4013fe4d03 Link to ticket about existing stubs. 2018-08-01 18:42:26 +03:00
Luke Murphy
b569a292e8 Add fork of mypy-django.
Based on https://github.com/TypedDjango/django-stubs/issues/4#issuecomment-409478397.
2018-08-01 17:56:12 +03:00
Luke Murphy
7ce490fa7a Add some type hint documentation. 2018-08-01 10:07:51 +03:00
Luke Murphy
b0025f82e6 Add note about other efforts. 2018-08-01 10:02:18 +03:00
Luke Murphy
4d6bf0b83e Actually, remove retype from dev dependencies.
If retype gets vendored in an upstream tool, then we won't be needing it
here. Better not clutter up the dev dependencies with things we are not
currently needing.
2018-07-31 16:02:07 +03:00
lwm
6d6fa9a589 Merge pull request #7 from lwm/vendor-retype
Add Pipfile and add forked retype.
2018-07-30 18:28:03 +03:00
Luke Murphy
6659b2af01 Add Pipfile and add forked retype.
Following https://github.com/TypedDjango/django-stubs/issues/2#issuecomment-408872344.
2018-07-30 18:26:19 +03:00
Luke Murphy
6a3f08d9ff Add missing full stop. 2018-07-30 18:05:22 +03:00
lwm
2f7db0a0c2 Merge pull request #6 from lwm/add-readme
Add a first stab at a README.
2018-07-30 18:03:14 +03:00
Luke Murphy
9e010ad178 Add a first stab at a README.
Closes https://github.com/TypedDjango/django-stubs/issues/1.
2018-07-30 18:02:22 +03:00