Skip to content

Commit

Permalink
Fix after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownPlatypus committed Nov 6, 2023
1 parent 183189f commit dc39f69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions django-stubs/contrib/admin/helpers.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ from django.forms.boundfield import BoundField
from django.forms.models import ModelForm
from django.forms.utils import ErrorDict, ErrorList
from django.forms.widgets import Media, Widget
from django.utils.functional import cached_property
from django.utils.safestring import SafeString
from typing_extensions import TypedDict

Expand Down Expand Up @@ -147,8 +146,7 @@ class InlineAdminFormSet:
def inline_formset_data(self) -> str: ...
@property
def forms(self) -> list[BaseForm]: ...
@cached_property
def non_form_errors(self) -> Callable[[], ErrorList]: ...
def non_form_errors(self) -> ErrorList: ...
@property
def media(self) -> Media: ...

Expand Down
1 change: 0 additions & 1 deletion scripts/stubtest/allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ django.utils.functional.cached_property.__set__
django.utils.functional.cached_property.name

# Ignore @cached_property error "cannot reconcile @property on stub with runtime object"
django.contrib.admin.helpers.InlineAdminFormSet.non_form_errors
django.contrib.contenttypes.fields.ReverseGenericManyToOneDescriptor.related_manager_cls
django.contrib.gis.db.backends.base.operations.BaseSpatialOperations.select_extent
django.contrib.gis.db.backends.mysql.features.DatabaseFeatures.django_test_skips
Expand Down

0 comments on commit dc39f69

Please sign in to comment.