Skip to content

Commit

Permalink
👹 Feed the hobgoblins (delint).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 27, 2024
1 parent b0aea96 commit cebba7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distutils/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit cebba7f

Please sign in to comment.