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:
3434 parser = argparse .ArgumentParser ()
3535 parser .add_argument ("GITHUB_REF" , help = "The GITHUB_REF environmental variable" )
3636 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+ )
4040 tag_version = args .GITHUB_REF [11 :]
4141 package_version = get_version_from_module (
4242 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(
6060
6161 with computer .get_transport () as transport :
6262 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 )} "
6565 )
6666
6767 if retval != 0 :
You can’t perform that action at this time.
0 commit comments