Skip to content

Commit

Permalink
clean: imports
Browse files Browse the repository at this point in the history
  • Loading branch information
stephantul committed Dec 5, 2024
1 parent fb8b4e9 commit 0d8ae2f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion vicinity/backends/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from abc import ABC, abstractmethod
from dataclasses import dataclass
from pathlib import Path
from typing import Any, Literal, Union
from typing import Any, Union

import numpy as np
from numpy import typing as npt
Expand Down
1 change: 0 additions & 1 deletion vicinity/backends/faiss.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from typing import Any, Union

import faiss
import numpy as np
from numpy import typing as npt

from vicinity.backends.base import AbstractBackend, BaseArgs
Expand Down
2 changes: 1 addition & 1 deletion vicinity/backends/hnsw.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from dataclasses import dataclass
from pathlib import Path
from typing import Any, Literal, Union
from typing import Any, Union

from hnswlib import Index as HnswIndex
from numpy import typing as npt
Expand Down
1 change: 0 additions & 1 deletion vicinity/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from pathlib import Path
from typing import Iterable, List, Tuple, Union

import numpy as np
from numpy import typing as npt

PathLike = Union[str, Path]
Expand Down
1 change: 0 additions & 1 deletion vicinity/vicinity.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from __future__ import annotations

import logging
import time
from io import open
from pathlib import Path
from time import perf_counter
Expand Down

0 comments on commit 0d8ae2f

Please sign in to comment.