Skip to content

Commit b770d99

Browse files
fmt
1 parent f5a6e5f commit b770d99

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

snakemake_interface_software_deployment_plugins/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ def name(self) -> str:
145145
return Path(self.executable).name
146146

147147
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)
151149

152150

153151
class EnvBase(ABC):

snakemake_interface_software_deployment_plugins/tests.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ def test_shellcmd(self, tmp_path):
7878
cmd = self.get_test_cmd()
7979
decorated_cmd = env.managed_decorate_shellcmd(cmd)
8080
assert cmd != decorated_cmd
81-
assert (
82-
env.run_cmd(decorated_cmd).returncode == 0
83-
)
81+
assert env.run_cmd(decorated_cmd).returncode == 0
8482

8583
def test_deploy(self, tmp_path):
8684
env = self._get_env(tmp_path)

0 commit comments

Comments
 (0)