chore: fix pylint warnings

This commit is contained in:
2023-11-02 01:10:31 +08:00
parent 92fcc53015
commit 14f4cef426
15 changed files with 80 additions and 48 deletions

View File

@ -103,7 +103,7 @@ class Searcher:
return list(results)
def search(self, string: str, *, limit: int = 10, fuzzy_distance: int = 10):
def search(self, string: str, *, limit: int = 10):
query_string = f"{string}"
query = self.default_query_parser.parse(query_string)
with self.index.searcher() as searcher: