enable more linting

This commit is contained in:
Jörg Thalheim
2023-11-29 12:38:00 +01:00
committed by Mic92
parent 6991b325d7
commit 7d755beca6
15 changed files with 54 additions and 54 deletions

View File

@@ -21,7 +21,8 @@ def ssh(
"-p",
password,
]
_ssh_args = ssh_args + [
_ssh_args = [
*ssh_args,
"ssh",
"-o",
"UserKnownHostsFile=/dev/null",
@@ -29,7 +30,7 @@ def ssh(
"StrictHostKeyChecking=no",
f"{user}@{host}",
]
cmd = nix_shell(packages, ["torify"] + password_args + _ssh_args)
cmd = nix_shell(packages, ["torify", *password_args, *_ssh_args])
subprocess.run(cmd)