applied black

This commit is contained in:
Matthias Bisping 2022-05-16 15:00:09 +02:00
parent 89f562aa71
commit e5a4e7e994
4 changed files with 3 additions and 5 deletions

View File

@ -3,7 +3,6 @@ from typing import Iterable
class Receiver(abc.ABC):
@abc.abstractmethod
def __call__(self, package: Iterable):
pass

View File

@ -13,5 +13,3 @@ def make_streamable_and_wrap_in_packing_logic(fn, batched):
def make_streamable(fn, batched):
return compose(normalize, (identity if batched else starlift)(fn))

View File

@ -40,7 +40,6 @@ def test_pipeline(core_operation, client_pipeline, input_data_items, metadata, t
assert output == targets
# @pytest.mark.parametrize("item_type", ["string"])
# @pytest.mark.parametrize("n_items", [1])
# def test_pipeline_is_lazy(input_data_items, metadata):

View File

@ -39,7 +39,9 @@ def test_flat_stream_buffer(func, inputs, outputs, buffer_size):
assert list(flat_stream_buffer([])) == []
def test_flat_stream_buffer_on_different_data(core_operation, input_data_items, target_data_items, buffer_size, item_type, one_to_many):
def test_flat_stream_buffer_on_different_data(
core_operation, input_data_items, target_data_items, buffer_size, item_type, one_to_many
):
if core_operation is Nothing:
pytest.skip(f"No operation defined for parameter combination: {item_type=}, {one_to_many=}")