From 903ca2292d17a8d3fefca0e7d5be6d0be2ae6ae8 Mon Sep 17 00:00:00 2001 From: Micah Denbraver Date: Sat, 11 May 2024 09:08:54 -0700 Subject: [PATCH] adjust for mypy check --- piptools/_compat/pip_compat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/piptools/_compat/pip_compat.py b/piptools/_compat/pip_compat.py index a5f843ad..1d346bdf 100644 --- a/piptools/_compat/pip_compat.py +++ b/piptools/_compat/pip_compat.py @@ -64,7 +64,8 @@ def _from_importlib(cls, dist: _ImportLibDist) -> Distribution: return cls(dist._dist.name, dist._dist.version, requires, dist.direct_url) -class FileLink(Link): +class FileLink(Link): # type: ignore[misc] + _url: str @property def file_path(self) -> str: