From 93d5a13b51f519c33c11322fccc8de2b110d8035 Mon Sep 17 00:00:00 2001 From: Lars Holmberg Date: Sat, 7 Aug 2021 22:50:08 +0200 Subject: [PATCH] Auto format... --- locust/web.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/locust/web.py b/locust/web.py index a15019430a..d0b48a2bec 100644 --- a/locust/web.py +++ b/locust/web.py @@ -411,7 +411,11 @@ def update_template_args(self): stats = self.environment.runner.stats extra_options = ( - {k: v for k, v in vars(self.environment.parsed_options).items() if k not in argument_parser.default_args_dict()} + { + k: v + for k, v in vars(self.environment.parsed_options).items() + if k not in argument_parser.default_args_dict() + } if self.environment.parsed_options else {} )