File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
django_filters/rest_framework Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11version = " 25.1.*"
22upstream_repository = " https://github.com/carltongibson/django-filter/"
3- requires = [" django-stubs" , " djangorestframework-stubs " ]
3+ requires = [" django-stubs" ]
44
55[tool .stubtest ]
66mypy_plugins = [" mypy_django_plugin.main" ]
77mypy_plugins_config = {"django-stubs" = {"django_settings_module" = " @tests.django_settings" }}
8+ stubtest_requirements = [" djangorestframework-stubs" ]
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ from typing import Any
33from django .db .models import QuerySet
44from django .http import HttpRequest
55from django_filters .filterset import FilterSetMetaclass
6- from rest_framework .views import APIView
6+ from rest_framework .views import APIView # type: ignore[import-not-found]
77
88from . import filterset
99
You can’t perform that action at this time.
0 commit comments