Skip to content

Commit

Permalink
Fix mypy failure that has nothing to do with this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-blanchard committed Mar 7, 2024
1 parent 608b319 commit 4a3782d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion importlib_metadata/__init__.py
Expand Up @@ -440,7 +440,7 @@ def at(path: str | os.PathLike[str]) -> Distribution:
:param path: a string or path-like object
:return: a concrete Distribution instance for the path
"""
return PathDistribution(pathlib.Path(path))
return PathDistribution(cast(SimplePath, pathlib.Path(path)))

@staticmethod
def _discover_resolvers():
Expand Down

0 comments on commit 4a3782d

Please sign in to comment.