From 76fd1d4e02451d464f0c8cc86dfd413d31e65349 Mon Sep 17 00:00:00 2001 From: Taavi Kuusik Date: Thu, 23 Apr 2020 13:43:00 -0700 Subject: [PATCH] Fixing lint --- python/seldon_core/microservice.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python/seldon_core/microservice.py b/python/seldon_core/microservice.py index 8295c03ccf..79218f143c 100644 --- a/python/seldon_core/microservice.py +++ b/python/seldon_core/microservice.py @@ -348,12 +348,16 @@ def rest_prediction_server(): logger.info("Set JAEGER_EXTRA_TAGS %s", jaeger_extra_tags) tracing = FlaskTracing(tracer, True, app, jaeger_extra_tags) - app.run(host="0.0.0.0", port=port, threaded=False if args.single_threaded else True) + app.run( + host="0.0.0.0", + port=port, + threaded=False if args.single_threaded else True, + ) logger.info( "REST gunicorn microservice running on port %i single-threaded=%s", port, - args.single_threaded + args.single_threaded, ) server1_func = rest_prediction_server