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 Jul 10, 2024
1 parent 4507080 commit e5759b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aiida_hyperqueue/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def add_cmd(slurm_options, computer, time_limit, enable_hyperthreading,
with computer.get_transport() as transport:
retval, _, stderr = transport.exec_command_wait(
f'hq alloc add slurm --backlog {backlog} --time-limit {time_limit} --name aiida {hyper} '
f'--workers-per-alloc {workers_per_alloc} -- {" ".join(slurm_options)}'
f'--workers-per-alloc {workers_per_alloc} -- {' '.join(slurm_options)}'
)

if retval != 0:
Expand Down
2 changes: 1 addition & 1 deletion aiida_hyperqueue/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def _parse_joblist_output(self, retval: int, stdout: str,
job_info_list.append(job_info)

return job_info_list

def _get_detailed_job_info_command(self, job_id):
"""Return the command to run to get the detailed information on a job,
even after the job has finished.
Expand Down

0 comments on commit e5759b2

Please sign in to comment.