File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
snakemake_interface_software_deployment_plugins Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -145,9 +145,7 @@ def name(self) -> str:
145
145
return Path (self .executable ).name
146
146
147
147
def run (self , cmd : str , ** kwargs ) -> sp .CompletedProcess :
148
- return sp .run (
149
- [self .executable ] + self .args + [self .command_arg , cmd ], ** kwargs
150
- )
148
+ return sp .run ([self .executable ] + self .args + [self .command_arg , cmd ], ** kwargs )
151
149
152
150
153
151
class EnvBase (ABC ):
Original file line number Diff line number Diff line change @@ -78,9 +78,7 @@ def test_shellcmd(self, tmp_path):
78
78
cmd = self .get_test_cmd ()
79
79
decorated_cmd = env .managed_decorate_shellcmd (cmd )
80
80
assert cmd != decorated_cmd
81
- assert (
82
- env .run_cmd (decorated_cmd ).returncode == 0
83
- )
81
+ assert env .run_cmd (decorated_cmd ).returncode == 0
84
82
85
83
def test_deploy (self , tmp_path ):
86
84
env = self ._get_env (tmp_path )
You can’t perform that action at this time.
0 commit comments