From 35341b282295b92a4c17ccf109c5c795d9201125 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Tue, 10 Sep 2024 17:50:35 -0700 Subject: [PATCH] Remove ignore comment after django-stubs fix django.core.checks.registry.CheckRegistry.register is now typed correctly. --- csp/apps.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/csp/apps.py b/csp/apps.py index 38e3103..2013782 100644 --- a/csp/apps.py +++ b/csp/apps.py @@ -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)