Skip to content

Commit 2b3112e

Browse files
committed
Fix type-errors post-merge
1 parent 6e8e63e commit 2b3112e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setuptools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def _ensure_stringlike(self, option, what, default=None):
186186
)
187187
return val
188188

189-
def ensure_string_list(self, option: str): # type: ignore[override] # Fixed in typeshed for mypy 1.12
189+
def ensure_string_list(self, option: str):
190190
r"""Ensure that 'option' is a list of strings. If 'option' is
191191
currently a string, we split it either on /,\s*/ or /\s+/, so
192192
"foo bar baz", "foo,bar,baz", and "foo, bar baz" all become

setuptools/dist.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
command as _, # noqa: F401 # imported for side-effects
3434
)
3535
from ._importlib import metadata
36+
from ._reqs import _StrOrIter
3637
from .config import pyprojecttoml, setupcfg
3738
from .discovery import ConfigDiscovery
3839
from .monkey import get_unpatched

0 commit comments

Comments
 (0)