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 Jun 19, 2024
1 parent 543cc8f commit dceb080
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/spikeinterface/sorters/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ def has_docker():


def has_singularity():
return _run_subprocess_silently("singularity --version").returncode == 0 or _run_subprocess_silently("apptainer --version").returncode == 0
return (
_run_subprocess_silently("singularity --version").returncode == 0
or _run_subprocess_silently("apptainer --version").returncode == 0
)


def has_docker_nvidia_installed():
Expand Down

0 comments on commit dceb080

Please sign in to comment.