Skip to content

Commit

Permalink
Reformat.
Browse files Browse the repository at this point in the history
  • Loading branch information
psobot committed Jul 29, 2024
1 parent 57e6a2f commit 15c0b3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions python/tests/test_distances.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ def quantize_to_e4m3(vec: np.ndarray) -> np.ndarray:
],
ids=str,
)
def test_distance(
dimensions: int, space: Space, storage_data_type: StorageDataType, tolerance: float
):
def test_distance(dimensions: int, space: Space, storage_data_type: StorageDataType, tolerance: float):
index = Index(space=space, num_dimensions=dimensions, storage_data_type=storage_data_type)
a = np.random.rand(dimensions)
b = np.random.rand(dimensions)
Expand Down
4 changes: 1 addition & 3 deletions python/tests/test_index_recreation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest

import numpy as np

import pytest
import voyager


Expand Down

0 comments on commit 15c0b3e

Please sign in to comment.