Skip to content

Commit

Permalink
Revert "Fix mypy failure that has nothing to do with this PR"
Browse files Browse the repository at this point in the history
This reverts commit 4a3782d.
  • Loading branch information
jaraco committed Jun 23, 2024
1 parent b815aee commit 07a2a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion importlib_metadata/__init__.py
Original file line number Diff line number Diff line change
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(cast(SimplePath, pathlib.Path(path)))
return PathDistribution(pathlib.Path(path))

@staticmethod
def _discover_resolvers():
Expand Down

0 comments on commit 07a2a44

Please sign in to comment.