Skip to content

Commit

Permalink
Add types fix from other branch
Browse files Browse the repository at this point in the history
  • Loading branch information
robhudson committed Sep 12, 2024
1 parent ddc9997 commit 2eacf23
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions csp/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ class CspConfig(AppConfig):
name = "csp"

def ready(self) -> None:
# Ignore known issue typeddjango/django-stubs #2232
# The overload of CheckRegistry.register as a function is incomplete
checks.register(check_django_csp_lt_4_0, checks.Tags.security) # type: ignore
checks.register(check_django_csp_lt_4_0, checks.Tags.security)

0 comments on commit 2eacf23

Please sign in to comment.