diff --git a/tests/__init__.py b/tests/__init__.py index 6bd8fb4..b185083 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1 +1 @@ -"""Unit tests for the copairs package.""" \ No newline at end of file +"""Unit tests for the copairs package.""" diff --git a/tests/helpers.py b/tests/helpers.py index e7aaaf4..57207a5 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -1,4 +1,5 @@ """Helper functions for testing.""" + from itertools import product from typing import Dict diff --git a/tests/test_build_rank_multilabel.py b/tests/test_build_rank_multilabel.py index c2afdf4..210a918 100644 --- a/tests/test_build_rank_multilabel.py +++ b/tests/test_build_rank_multilabel.py @@ -1,4 +1,5 @@ """Test the concatenation of ranges.""" + import numpy as np from copairs.compute import concat_ranges diff --git a/tests/test_compute.py b/tests/test_compute.py index 03428c7..dfad755 100644 --- a/tests/test_compute.py +++ b/tests/test_compute.py @@ -1,4 +1,5 @@ """Test pairwise distance calculation functions.""" + import numpy as np from copairs import compute diff --git a/tests/test_map.py b/tests/test_map.py index f2e2379..b18ca9e 100644 --- a/tests/test_map.py +++ b/tests/test_map.py @@ -1,4 +1,5 @@ """Tests for (mean) Average Precision calculation.""" + import numpy as np import pandas as pd import pytest diff --git a/tests/test_map_filter.py b/tests/test_map_filter.py index 4fdfe1f..c49e6e2 100644 --- a/tests/test_map_filter.py +++ b/tests/test_map_filter.py @@ -1,4 +1,5 @@ """Tests data filtering by query.""" + import numpy as np import pytest diff --git a/tests/test_matching_any.py b/tests/test_matching_any.py index 3f18c4f..b949613 100644 --- a/tests/test_matching_any.py +++ b/tests/test_matching_any.py @@ -1,4 +1,5 @@ """Test matching with `any` conditions using simulated data.""" + from string import ascii_letters import numpy as np diff --git a/tests/test_matching_multilabel.py b/tests/test_matching_multilabel.py index dd6e308..0ee6538 100644 --- a/tests/test_matching_multilabel.py +++ b/tests/test_matching_multilabel.py @@ -1,4 +1,5 @@ """Tests for the multilabel matching implementation.""" + import pandas as pd from copairs.matching import MatcherMultilabel diff --git a/tests/test_replicating.py b/tests/test_replicating.py index 79d5661..db9f157 100644 --- a/tests/test_replicating.py +++ b/tests/test_replicating.py @@ -1,4 +1,5 @@ """Tests for the replicating module.""" + from numpy.random import default_rng from copairs import Matcher