From 5a90d5ece67dc76866bb675fbe7a7f3f6ddbbaa2 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 23 Apr 2022 09:44:04 +0200 Subject: [PATCH] Fix docstring quotes --- freqtrade/optimize/hyperopt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/optimize/hyperopt.py b/freqtrade/optimize/hyperopt.py index babcc5491..78d237c8d 100644 --- a/freqtrade/optimize/hyperopt.py +++ b/freqtrade/optimize/hyperopt.py @@ -410,7 +410,7 @@ class Hyperopt: dump(preprocessed, self.data_pickle_file) def get_asked_points(self, n_points: int) -> Tuple[List[List[Any]], List[bool]]: - ''' + """ Enforce points returned from `self.opt.ask` have not been already evaluated Steps: @@ -420,7 +420,7 @@ class Hyperopt: 4. If still some points are missing in respect to `n_points`, random sample some points 5. Repeat until at least `n_points` points in the `asked_non_tried` list 6. Return a list with length truncated at `n_points` - ''' + """ def unique_list(a_list): new_list = [] for item in a_list: