File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ def get_version_from_module(content: str) -> str:
34
34
parser = argparse .ArgumentParser ()
35
35
parser .add_argument ("GITHUB_REF" , help = "The GITHUB_REF environmental variable" )
36
36
args = parser .parse_args ()
37
- assert args .GITHUB_REF .startswith (
38
- "refs/tags/v"
39
- ), f'GITHUB_REF should start with "refs/tags/v": { args . GITHUB_REF } '
37
+ assert args .GITHUB_REF .startswith ("refs/tags/v" ), (
38
+ f'GITHUB_REF should start with "refs/tags/v": { args . GITHUB_REF } '
39
+ )
40
40
tag_version = args .GITHUB_REF [11 :]
41
41
package_version = get_version_from_module (
42
42
Path ("aiida_hyperqueue/__init__.py" ).read_text (encoding = "utf-8" )
Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ def cmd_add(
60
60
61
61
with computer .get_transport () as transport :
62
62
retval , _ , stderr = transport .exec_command_wait (
63
- f' hq alloc add slurm --backlog { backlog } --time-limit { time_limit } --name ahq { hyper } '
64
- f' --workers-per-alloc { workers_per_alloc } -- { " " .join (slurm_options )} '
63
+ f" hq alloc add slurm --backlog { backlog } --time-limit { time_limit } --name ahq { hyper } "
64
+ f" --workers-per-alloc { workers_per_alloc } -- { ' ' .join (slurm_options )} "
65
65
)
66
66
67
67
if retval != 0 :
You can’t perform that action at this time.
0 commit comments