From 2b3e2b654e800030a008f6343ee2fb054f06c588 Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Tue, 7 Feb 2023 18:08:28 +0200 Subject: [PATCH] Trailing commas --- scripts/typecheck_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/typecheck_tests.py b/scripts/typecheck_tests.py index 32215c00c..bf71f3561 100644 --- a/scripts/typecheck_tests.py +++ b/scripts/typecheck_tests.py @@ -56,7 +56,7 @@ '"_MonkeyPatchedWSGIResponse" has no attribute "content"', '"_MonkeyPatchedWSGIResponse" has no attribute "data"', '" defined here', - '" has no attribute "id"' + '" has no attribute "id"', ], "authentication": [ 'Argument 1 to "post" of "APIClient" has incompatible type "None"; expected "str', @@ -129,7 +129,7 @@ 'has incompatible type "str"', '"Response" has no attribute "serializer"', 'Incompatible types in assignment (expression has type "Type[SlugSerializer]", base class "InstanceView" defined the type as "Type[BasicSerializer]")', # noqa: E501 - 'Incompatible types in assignment (expression has type "_QuerySet[SlugBasedModel, SlugBasedModel]", base class "InstanceView" defined the type as "_QuerySet[BasicModel, BasicModel]")' # noqa: E501 + 'Incompatible types in assignment (expression has type "_QuerySet[SlugBasedModel, SlugBasedModel]", base class "InstanceView" defined the type as "_QuerySet[BasicModel, BasicModel]")', # noqa: E501 ], "test_htmlrenderer.py": [ 'to "get_template_names" of "TemplateHTMLRenderer" has incompatible type',