diff --git a/.gitignore b/.gitignore index 469af18ff..eb9272943 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ .pytest_cache/ .ruff_cache/ .venv/ +venv/ __pycache__/ django-source/ out/ diff --git a/django-stubs/contrib/contenttypes/checks.pyi b/django-stubs/contrib/contenttypes/checks.pyi index 1a4e38012..47643db78 100644 --- a/django-stubs/contrib/contenttypes/checks.pyi +++ b/django-stubs/contrib/contenttypes/checks.pyi @@ -5,8 +5,8 @@ from django.apps.config import AppConfig from django.core.checks.messages import CheckMessage def check_generic_foreign_keys( - app_configs: Sequence[AppConfig] | None = None, **kwargs: Any + app_configs: Sequence[AppConfig] | None, *, databases: Sequence[str] | None = ..., **kwargs: Any ) -> Sequence[CheckMessage]: ... def check_model_name_lengths( - app_configs: Sequence[AppConfig] | None = None, **kwargs: Any + app_configs: Sequence[AppConfig] | None, *, databases: Sequence[str] | None = ..., **kwargs: Any ) -> Sequence[CheckMessage]: ... diff --git a/scripts/stubtest/allowlist_todo_django60.txt b/scripts/stubtest/allowlist_todo_django60.txt index 456626afd..f8653d353 100644 --- a/scripts/stubtest/allowlist_todo_django60.txt +++ b/scripts/stubtest/allowlist_todo_django60.txt @@ -21,8 +21,6 @@ django.contrib.auth.management.RenamePermission django.contrib.auth.management.rename_permissions django.contrib.auth.templatetags django.contrib.auth.templatetags.auth -django.contrib.contenttypes.checks.check_generic_foreign_keys -django.contrib.contenttypes.checks.check_model_name_lengths django.contrib.contenttypes.fields.GenericForeignKey.ct_field_attname django.contrib.contenttypes.fields.GenericForeignKey.get_prefetch_queryset django.contrib.contenttypes.management.get_contenttypes_and_models