applied black

This commit is contained in:
Matthias Bisping 2022-08-30 16:03:41 +02:00
parent 983265f435
commit 00ac0d61ab
3 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,6 @@ from image_prediction.utils.banner import show_banner
def main(): def main():
def predict(pdf): def predict(pdf):
# Keras service_estimator.predict stalls when service_estimator was loaded in different process; # Keras service_estimator.predict stalls when service_estimator was loaded in different process;
# therefore, we re-load the model (part of the pipeline) every time we process a new document. # therefore, we re-load the model (part of the pipeline) every time we process a new document.

View File

@ -17,7 +17,7 @@ pytest_plugins = [
"test.fixtures.parameters", "test.fixtures.parameters",
"test.fixtures.pdf", "test.fixtures.pdf",
"test.fixtures.target", "test.fixtures.target",
"test.unit_tests.image_stitching_test" "test.unit_tests.image_stitching_test",
] ]

View File

@ -3,7 +3,7 @@ from funcy import rcompose, chunks
def test_rcompose(): def test_rcompose():
f = rcompose(lambda x: x ** 2, str, lambda x: x * 2) f = rcompose(lambda x: x**2, str, lambda x: x * 2)
assert f(3) == "99" assert f(3) == "99"