Skip to content

Commit 903ca22

Browse files
author
Micah Denbraver
committed
adjust for mypy check
1 parent ab40084 commit 903ca22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

piptools/_compat/pip_compat.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ def _from_importlib(cls, dist: _ImportLibDist) -> Distribution:
6464
return cls(dist._dist.name, dist._dist.version, requires, dist.direct_url)
6565

6666

67-
class FileLink(Link):
67+
class FileLink(Link): # type: ignore[misc]
68+
_url: str
6869

6970
@property
7071
def file_path(self) -> str:

0 commit comments

Comments
 (0)