From cff83d3e6f2ff31ab7a4f4c17adfc6c2e05f7f82 Mon Sep 17 00:00:00 2001 From: misagh Date: Fri, 28 Sep 2018 16:46:42 +0200 Subject: [PATCH] bloody autopep8 again --- freqtrade/edge/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/freqtrade/edge/__init__.py b/freqtrade/edge/__init__.py index 9789f2991..d675d1659 100644 --- a/freqtrade/edge/__init__.py +++ b/freqtrade/edge/__init__.py @@ -157,7 +157,10 @@ class Edge(): def filter(self, pairs) -> list: # Filtering pairs acccording to the expectancy filtered_expectancy: list = [] - filtered_expectancy = [x[0] for x in self._cached_pairs if x[5] > float(self.edge_config.get('minimum_expectancy', 0.2))] + filtered_expectancy = [ + x[0] for x in self._cached_pairs if x[5] > float( + self.edge_config.get( + 'minimum_expectancy', 0.2))] # Only return pairs which are included in "pairs" argument list final = [x for x in filtered_expectancy if x in pairs]