From cebba7f925b40fdab5fd47f8ec92aa158c989a3c Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 26 Dec 2024 21:17:00 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B9=20Feed=20the=20hobgoblins=20(delin?= =?UTF-8?q?t).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- distutils/extension.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distutils/extension.py b/distutils/extension.py index f925987e..e0532734 100644 --- a/distutils/extension.py +++ b/distutils/extension.py @@ -107,7 +107,7 @@ def __init__( **kw, # To catch unknown keywords ): if not isinstance(name, str): - raise TypeError("'name' must be a string") # noqa: TRY004 + raise TypeError("'name' must be a string") # handle the string case first; since strings are iterable, disallow them if isinstance(sources, str):