Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 19, 2023
1 parent 0ecf83b commit 60e8989
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/spikeinterface/sorters/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ def run_sorter_jobs(job_list, engine="loop", engine_kwargs={}, return_output=Fal
engine_kwargs = engine_kwargs_

if return_output:
assert engine in ("loop", "joblib", "processpoolexecutor"), "Only 'loop', 'joblib', and 'processpoolexecutor' support return_output=True."
assert engine in (
"loop",
"joblib",
"processpoolexecutor",
), "Only 'loop', 'joblib', and 'processpoolexecutor' support return_output=True."
out = []
else:
out = None
Expand Down

0 comments on commit 60e8989

Please sign in to comment.