reformat search.py with black
@@ -32,7 +32,8 @@ class SearchJob(Job):
self.ready_task_results = list() #: set of results
if self.num_workers > 1:
self.process_pool = concurrent.futures.ProcessPoolExecutor(
- max_workers=self.num_workers, mp_context=torch.multiprocessing.get_context("spawn")
+ max_workers=self.num_workers,
+ mp_context=torch.multiprocessing.get_context("spawn"),
)
else:
self.process_pool = None # marks that we run in single process
