Commit Graph

  • 7e3f4bfa02 Fix ForeignKey type for self-reference defined in the abstract model (#200) Maxim Kurnikov 2019-10-05 21:36:29 +03:00
  • db9ff6aaf6 Fix crash if model from same app referenced in RelatedField cannot be resolved (#199) Maxim Kurnikov 2019-10-05 20:00:51 +03:00
  • 717be5940f Reorganize code a bit, add current directory to sys.path (#198) Maxim Kurnikov 2019-10-05 19:44:29 +03:00
  • b939bc96b7 Improves README with new example repo, python version matrix (#195) Nikita Sobolev 2019-10-01 15:24:48 +03:00
  • 584d4e8911 Improves README with new example repo, python version matrix readme-fixes Nikita Sobolev 2019-10-01 15:15:02 +03:00
  • 02bdf5be95 add support for typechecking of filter/get/exclude arguments (#183) Maxim Kurnikov 2019-09-30 03:05:40 +03:00
  • 4d4b0003bd Fix Paginator properties mistyped as Callables (#193) Maxim Kurnikov 2019-09-28 22:15:02 +03:00
  • e143ba568c add mypy compatibility table (#190) Maxim Kurnikov 2019-09-28 22:14:16 +03:00
  • 32c0cbca45 add some diagnostic for unused ignores for tests typechecking (#191) Maxim Kurnikov 2019-09-28 21:38:56 +03:00
  • acc3ca4205 Contexts can contain Any data (#192) Anthony Ricaud 2019-09-28 19:38:04 +01:00
  • be3fc259d5 fix compatibility with 0.730 (#189) Maxim Kurnikov 2019-09-28 05:23:55 +03:00
  • 7725b416b6 add unused ignores reporting (#188) Maxim Kurnikov 2019-09-28 04:48:44 +03:00
  • 2c23d8e70f Use runtime information to determine whether class is a models.Model subclass (#182) Maxim Kurnikov 2019-09-28 04:05:54 +03:00
  • 5910bd1b25 resolve_template accepts Sequences of str (#187) Anthony Ricaud 2019-09-25 21:32:23 +01:00
  • 963d50c717 add linting stubs with flake8-pyi and check for unused imports (#186) Maxim Kurnikov 2019-09-25 02:20:23 +03:00
  • 7407b93151 Fix type annotations for django.utils.safestring (#179) Maxim Kurnikov 2019-09-23 21:16:24 +03:00
  • afcd0d9293 Bump isort, use --diff (#164) Daniel Hahler 2019-09-23 19:45:43 +02:00
  • a85dbff793 update import_all test, add some stubs for postgres (#178) Maxim Kurnikov 2019-09-23 19:47:11 +03:00
  • 68aebe2528 Add django.contrib.gis.db.models and django.contrib.gis.db.models.fields (#177) Maxim Kurnikov 2019-09-23 19:30:32 +03:00
  • d3dca5b408 related_name is Optional[str] (#176) Peter Law 2019-09-23 15:38:34 +01:00
  • c69090ec5b Options.verbose_name_raw is always a string (#175) Peter Law 2019-09-21 14:07:55 +01:00
  • 29ac1c3017 Split AddManagers for model in separate stages to process IncompleteDefnException properly (#171) Maxim Kurnikov 2019-09-18 02:20:20 +03:00
  • 23ad65033b add custom Field processing for mixins used in the Model subclasses (#167) Maxim Kurnikov 2019-09-18 01:40:41 +03:00
  • 64720f492c add proper stubs for django.contrib.auth.models model fields (#170) Maxim Kurnikov 2019-09-18 01:40:15 +03:00
  • a8fdd4c673 cleanup some stubs in contrib.admin, contrib.admindocs (#169) Maxim Kurnikov 2019-09-17 23:30:49 +03:00
  • 813dd8cc1a make types for generic mixins less strict (#168) Maxim Kurnikov 2019-09-17 23:30:07 +03:00
  • 2b53fa5a1a Fix typecheck tests ci (#165) Maxim Kurnikov 2019-09-16 14:35:13 +03:00
  • e3ea84143f WIP: fix scripts/typecheck_tests.py (#162) Daniel Hahler 2019-09-14 21:23:45 +02:00
  • 82e3aa5464 ci: minor cleanup (#161) Daniel Hahler 2019-09-14 20:49:13 +02:00
  • 5b9a467cf0 flake8: ignore certain errors for .pyi files (#159) Daniel Hahler 2019-09-14 09:52:52 +02:00
  • 4a4dc53c4d Adds syntax highlight Nikita Sobolev 2019-09-08 12:31:30 +03:00
  • 77fd46987d Adds gitter icon Nikita Sobolev 2019-09-08 12:30:41 +03:00
  • 9291164a6b Adds github tempaltes, refs #112 (#155) Nikita Sobolev 2019-09-06 09:16:44 +03:00
  • 0c3e06e875 Solve issue 154: Fix wrong type for size in File. (#156) Wlises R 2019-09-06 02:16:19 -04:00
  • 3881df188c Adds github tempaltes, refs #112 issue-112 sobolevn 2019-09-05 12:45:08 +03:00
  • b8379d4fe6 Add property to forms.changed_data fixes #148 (#149) Jared Kerim 2019-08-30 04:18:24 -04:00
  • caa0e60743 Fixes travis badge Nikita Sobolev 2019-08-25 20:42:00 +03:00
  • de4fa92441 bump to 1.1.0 1.1.0 Maxim Kurnikov 2019-08-24 18:40:57 +03:00
  • dce0c0e930 Add 'django.core.cache.backends.memcached' stubs (#141) Maxim Kurnikov 2019-08-24 18:35:42 +03:00
  • fc9a335dfd make ValuesQuerySet have proper Collection generic type (#140) Maxim Kurnikov 2019-08-24 18:24:21 +03:00
  • 5fc39ff110 Merge pull request #139 from mkurnikov/none-to-optional-annotations Maxim Kurnikov 2019-08-24 17:32:14 +03:00
  • e95b40ef52 stability fixes Maxim Kurnikov 2019-08-24 17:04:50 +03:00
  • c91a6d1d5b replace None annotations with Optional[] around Maxim Kurnikov 2019-08-24 16:35:07 +03:00
  • d7e8222163 Fix related fields inheritance from abstract models (#138) Maxim Kurnikov 2019-08-24 02:35:55 +03:00
  • 09767210ec Return corresponding descriptors for some fields in class access (#137) Maxim Kurnikov 2019-08-23 04:03:03 +03:00
  • 656105bab2 make first() an Optional, allow to specify QuerySet with one parameter (#136) Maxim Kurnikov 2019-08-23 03:31:07 +03:00
  • ff7bf33e9c Fixes #127, adds urls.pyi for several contrib apps (#129) Nikita Sobolev 2019-08-16 15:45:17 +03:00
  • d94b7b0c6a Fixes collectstatic storage type, closes #130 (#131) Nikita Sobolev 2019-08-16 15:45:07 +03:00
  • 7bf1664307 Add properties to runserver.Command (#135) Swen Kooij 2019-08-16 15:44:49 +03:00
  • 0545c2d3ea Removes .editorconfig, refs #132 sobolevn 2019-08-13 15:06:13 +03:00
  • 825931da9f Fixes yaml spacing, refs #132 sobolevn 2019-08-13 15:05:33 +03:00
  • 737fd239b6 Fixes .editorconfig, refs #132 sobolevn 2019-08-13 15:04:02 +03:00
  • 7f476057b0 Refactors bad default values, now using Ellipsis (#132) Nikita Sobolev 2019-08-13 15:01:15 +03:00
  • d31512854a Merge pull request #124 from K0Te/fix-email-annotations Nikita Sobolev 2019-08-12 18:46:10 +03:00
  • 552de422dc Merge pull request #126 from rik/lazy-translation Nikita Sobolev 2019-08-12 18:45:15 +03:00
  • a9978cc021 Improve lazy translation functions Anthony Ricaud 2019-08-09 12:37:17 +01:00
  • bb08212b20 Fix EmailMessage.attachements parameter annotation. Oleg Nykolyn 2019-08-01 22:02:18 +03:00
  • 5d2efdb80b Merge pull request #119 from mkurnikov/subclass-queryset-proper-typing 1.0.2 Maxim Kurnikov 2019-07-26 22:47:02 +03:00
  • 27793ecd32 allow to subclass queryset without loss of typing Maxim Kurnikov 2019-07-26 22:23:46 +03:00
  • dddcb20fe4 bump version to 1.0.2 Maxim Kurnikov 2019-07-26 22:22:22 +03:00
  • ac40b80764 Mention solution to potential PYTHONPATH pitfall. (#115) 1.0.1 Aleksander Vognild Burkow 2019-07-26 15:48:38 +00:00
  • 6b21a0476d Remove psycopg2 from dependencies (#117) Maxim Kurnikov 2019-07-26 18:39:42 +03:00
  • 735b58e9bf values_list for related model id flat True (#113) Maxim Kurnikov 2019-07-25 21:33:45 +03:00
  • b4cd9757b0 Merge pull request #109 from mkurnikov/new-semanal 1.0.0 Maxim Kurnikov 2019-07-25 20:14:03 +03:00
  • 1b6c337aef enable mypy typechecking for plugin code Maxim Kurnikov 2019-07-25 20:03:10 +03:00
  • bc42cc2fa1 add python3.6 tests typechecking Maxim Kurnikov 2019-07-25 19:56:37 +03:00
  • 62dac1d468 remove some asserts that could be validly triggered Maxim Kurnikov 2019-07-25 19:53:12 +03:00
  • 409c01eb24 allow to specify QuerySet with one parameter Maxim Kurnikov 2019-07-25 19:22:59 +03:00
  • a0a2ecaf46 fix additional mypy config and auto settings Maxim Kurnikov 2019-07-25 19:14:36 +03:00
  • 4c21855641 fix mypy errors Maxim Kurnikov 2019-07-25 18:52:51 +03:00
  • 6466c57c69 update setup.py Maxim Kurnikov 2019-07-25 17:28:39 +03:00
  • 0bb41bc791 add notes about new manager types to README Maxim Kurnikov 2019-07-25 17:17:47 +03:00
  • 8894de0a04 add new config options to README Maxim Kurnikov 2019-07-25 17:03:37 +03:00
  • a019fe9715 csrf middleware callable can be none Maxim Kurnikov 2019-07-25 15:03:10 +03:00
  • a97d76020c enable tests typechecking using django submodule Maxim Kurnikov 2019-07-24 23:44:57 +03:00
  • ae8e42dd53 lint Maxim Kurnikov 2019-07-24 22:56:14 +03:00
  • 64049b60b0 add missing psycopg2 dependency Maxim Kurnikov 2019-07-24 22:54:12 +03:00
  • b6a5ccabdf move configuration to [mypy.plugins.django-stubs] inside mypy config file Maxim Kurnikov 2019-07-24 22:32:52 +03:00
  • e6d7a570e8 fix merge artifact Maxim Kurnikov 2019-07-24 22:05:05 +03:00
  • 6332620443 rewrite pytest-mypy-plugin extension code to use new hook Maxim Kurnikov 2019-07-23 17:38:18 +03:00
  • df021f6baa add some support for proxy models Maxim Kurnikov 2019-07-22 21:48:59 +03:00
  • 57796077c6 create(id=None) is valid, if id is AutoField Maxim Kurnikov 2019-07-22 20:14:59 +03:00
  • 46c48b504f tweak travis config to use new tests properly Maxim Kurnikov 2019-07-21 04:29:03 +03:00
  • 4dfa363521 lint fixes Maxim Kurnikov 2019-07-21 04:25:48 +03:00
  • 5b2aacddba add missing field methods Maxim Kurnikov 2019-07-21 03:47:27 +03:00
  • 2c001fd8a7 cleanups Maxim Kurnikov 2019-07-21 03:31:30 +03:00
  • a0db24c764 add objects to model, trade false positive for false negative Maxim Kurnikov 2019-07-21 01:17:25 +03:00
  • 39fb48b08a fix httprequest other fields Maxim Kurnikov 2019-07-21 00:43:00 +03:00
  • d7d379e1cd create dummy classes for custom_manager_of_model usecase Maxim Kurnikov 2019-07-21 00:41:21 +03:00
  • 6962b42cba allow to use fields as Field objects outside Model classes Maxim Kurnikov 2019-07-20 23:08:33 +03:00
  • df77299c2f cleanups Maxim Kurnikov 2019-07-20 23:07:35 +03:00
  • b86d33c718 allow custom app label for ForeignKey Maxim Kurnikov 2019-07-20 22:50:37 +03:00
  • fa57fb0cbf request.user has type of AUTH_USER_MODEL Maxim Kurnikov 2019-07-20 22:44:40 +03:00
  • 248504c25a various fixes Maxim Kurnikov 2019-07-20 20:28:43 +03:00
  • fee4aad3d0 fix OneToOneField without related_name Maxim Kurnikov 2019-07-19 18:30:12 +03:00
  • fc9843bea6 add support for _meta.get_field() typechecking Maxim Kurnikov 2019-07-19 16:27:13 +03:00
  • 5bb1bc250d add get_next_by_FOO, get_previous_by_FOO for date,datetime fields Maxim Kurnikov 2019-07-19 03:08:50 +03:00
  • 1721c997be add support for get_FIELD_display for choices fields Maxim Kurnikov 2019-07-19 02:39:39 +03:00
  • bba6f769b5 add django.contrib.contenttypes to all tests by default Maxim Kurnikov 2019-07-18 19:36:56 +03:00
  • 07a9bcd4cb remove dataclasses dependency Maxim Kurnikov 2019-07-18 19:36:24 +03:00