make mypy happy
This commit is contained in:
parent
0c02fd0083
commit
72821a1203
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ def antilen(string: str):
|
||||||
"""Return a bigger number for shorter strings, except 0 for ""."""
|
"""Return a bigger number for shorter strings, except 0 for ""."""
|
||||||
return 1 / len(string) if string else 0
|
return 1 / len(string) if string else 0
|
||||||
|
|
||||||
async def find_parts(parts: list[Part], search_string: str, max_number: int=10) -> list[Part]:
|
async def find_parts(parts: list[Part], search_string: str, max_number: int=10) -> Iterable[Part]:
|
||||||
"""Gives parts that the user might have searched for.
|
"""Gives parts that the user might have searched for.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
|
Loading…
Reference in a new issue