lint: ignore a type false positive

This commit is contained in:
Iain Learmonth 2022-06-22 16:38:19 +01:00
parent dd224346fd
commit 0008a24a0f

View file

@ -80,7 +80,7 @@ def active_proxy_urls() -> List[str]:
def proxy_by_url(url: str) -> Proxy:
return Proxy.query.filter(
return Proxy.query.filter( # type: ignore[no-any-return]
Proxy.deprecated.is_(None),
Proxy.destroyed.is_(None),
Proxy.url == url