From 7cbcebaa4784cad64e292ca3706ba90efc925950 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 14 May 2024 12:44:03 +0100 Subject: [PATCH] typing: Remove unused ignore [1] was merged. [1] https://github.com/python/typeshed/pull/11719 Signed-off-by: Stephen Finucane --- sphinx_click/ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_click/ext.py b/sphinx_click/ext.py index f398aad..ea80315 100644 --- a/sphinx_click/ext.py +++ b/sphinx_click/ext.py @@ -411,7 +411,7 @@ def nested(argument: ty.Optional[str]) -> NestedT: if argument not in values: raise ValueError( "%s is not a valid value for ':nested:'; allowed values: %s" - % directives.format_values(values) # type: ignore + % directives.format_values(values) ) return ty.cast(NestedT, argument)