Skip to content

Commit

Permalink
Add fields __init__ to allowlist
Browse files Browse the repository at this point in the history
Really not ideal, so open to alternatives
  • Loading branch information
Viicos committed Feb 2, 2024
1 parent 9cafb9d commit 3dda6c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/stubtest/allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -411,3 +411,8 @@ django.contrib.sessions.base_session.AbstractBaseSession.Meta
# Custom __str__ that we don't want to overcomplicate:
django.forms.utils.RenderableMixin.__str__
django.forms.utils.RenderableMixin.__html__

# Keyword only in stubs
django.db.models.(\w*)Field.__init__
django.db.models.fields.(\w*)Field.__init__
django.contrib.gis.db.models.(\w*)Field.__init__

0 comments on commit 3dda6c8

Please sign in to comment.