Skip to content

Commit

Permalink
Fix types (#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
linusha authored Feb 5, 2025
2 parents bba7f0e + a900979 commit 0a7ef4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@ markers = [
addopts = [
"--import-mode=importlib",
]
pythonpath = [
"."
]
2 changes: 1 addition & 1 deletion backend/stubs/xapian/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def sortable_serialise(value: float) -> str: ...
def sortable_unserialise(serialised: str) -> float: ...

class Weight:
def __init__(self, *args, **kwargs) -> None: ...
pass

class BM25Weight(Weight):
def __init__(
Expand Down

0 comments on commit 0a7ef4f

Please sign in to comment.