djangorestframework-stubs icon indicating copy to clipboard operation
djangorestframework-stubs copied to clipboard

Consider having a stubs only package with no dependencies

Open sk- opened this issue 4 years ago • 1 comments

Feature Request

Currently this plugin depends on the django-stubs plugin, however it's really hard to introduce that plugin in an existing codebase (thousands of errors in our app). However, just including these stubs without even configuring the plugin (and uninstalling django-stubs) find useful errors.

It'd be great if you could just publish another package with just the rest_framework stubs.

System information

  • OS:
  • python version: 3.8.10
  • django version: 3.9.4
  • mypy version: 0.901
  • django-stubs version:

sk- avatar Aug 07 '21 16:08 sk-

In case anyones is looking for standalone types, I ended up using the fork https://github.com/sbdchd/django-types

sk- avatar Aug 26 '21 14:08 sk-