♻️ Fixed flake8 warning
This commit is contained in:
parent
96cd76998b
commit
546ca01071
@ -114,7 +114,8 @@ class HyperoptTools():
|
|||||||
if len(space_non_optimized) > 0:
|
if len(space_non_optimized) > 0:
|
||||||
for non_optimized_param in space_non_optimized:
|
for non_optimized_param in space_non_optimized:
|
||||||
if non_optimized_param not in all_space_params:
|
if non_optimized_param not in all_space_params:
|
||||||
all_space_params[non_optimized_param] = space_non_optimized[non_optimized_param]
|
all_space_params[non_optimized_param] = \
|
||||||
|
space_non_optimized[non_optimized_param]
|
||||||
|
|
||||||
if space in ['buy', 'sell']:
|
if space in ['buy', 'sell']:
|
||||||
result_dict.setdefault('params', {}).update(all_space_params)
|
result_dict.setdefault('params', {}).update(all_space_params)
|
||||||
|
Loading…
Reference in New Issue
Block a user