Skip to content

Commit

Permalink
[django-filter] Add django-filter metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
intgr committed Oct 22, 2023
1 parent e30a8bd commit 9548106
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyrightconfig.stricter.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"stubs/click-default-group",
"stubs/commonmark",
"stubs/dateparser",
"stubs/django-filter",
"stubs/docutils",
"stubs/Flask-Migrate",
"stubs/Flask-SocketIO",
Expand Down
41 changes: 41 additions & 0 deletions stubs/django-filter/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
django_filters.Filter.__init__
django_filters.FilterMethod
django_filters.FilterSet.base_filters
django_filters.FilterSet.declared_filters
django_filters.NumberFilter.get_max_validator
django_filters.QuerySetRequestMixin
django_filters.RemovedInDjangoFilter25Warning
django_filters.fields.BaseCSVWidget.surrogate
django_filters.fields.CSVWidget.__init__
django_filters.fields.DJANGO_50
django_filters.filters.Filter.__init__
django_filters.filters.NumberFilter.get_max_validator
django_filters.filterset.BaseFilterSet.filter_for_field
django_filters.filterset.FilterSet.base_filters
django_filters.filterset.FilterSet.declared_filters
django_filters.models
django_filters.rest_framework.DjangoFilterBackend
django_filters.rest_framework.Filter.__init__
django_filters.rest_framework.FilterSet.base_filters
django_filters.rest_framework.FilterSet.declared_filters
django_filters.rest_framework.NumberFilter.get_max_validator
django_filters.rest_framework.__all__
django_filters.rest_framework.backends.DjangoFilterBackend
django_filters.rest_framework.backends.RenameAttributes
django_filters.rest_framework.filters.Filter.__init__
django_filters.rest_framework.filters.NumberFilter.get_max_validator
django_filters.rest_framework.filterset.FilterSet.base_filters
django_filters.rest_framework.filterset.FilterSet.declared_filters
django_filters.views.BaseFilterView
django_filters.views.FilterMixin
django_filters.views.FilterMixinRenames
django_filters.views.FilterView
django_filters.views.MigrationNotice
django_filters.views.RenameAttributesBase
django_filters.widgets.BaseCSVWidget.surrogate
django_filters.widgets.CSVWidget.__init__

# These fail due to DJANGO_SETTINGS_MODULE being unset
django_filters.compat
django_filters.conf
django_filters.utils
3 changes: 3 additions & 0 deletions stubs/django-filter/METADATA.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version = "23.3.*"
upstream_repository = "https://github.com/carltongibson/django-filter"
requires = ["django-stubs", "djangorestframework-stubs"]

0 comments on commit 9548106

Please sign in to comment.