diff --git a/prefsampling/core/filters.py b/prefsampling/core/filters.py index 14adb06..5650e47 100644 --- a/prefsampling/core/filters.py +++ b/prefsampling/core/filters.py @@ -1,6 +1,7 @@ """ Filters are functions that operate on collections of votes and apply some random operation to them. """ + from __future__ import annotations from collections.abc import MutableSequence, Callable diff --git a/tests/test_samplers/ordinal/test_ordinal_mallows.py b/tests/test_samplers/ordinal/test_ordinal_mallows.py index 9fd1ea3..a9de062 100644 --- a/tests/test_samplers/ordinal/test_ordinal_mallows.py +++ b/tests/test_samplers/ordinal/test_ordinal_mallows.py @@ -24,4 +24,3 @@ def test_phi_from_norm_phi(self): def test_impartial_central_vote(self): mallows(4, 5, phi=0.4, impartial_central_vote=True) - \ No newline at end of file