[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-12-09 16:18:09 +00:00
parent 4dd15716db
commit 59b95d9999

View file

@ -82,7 +82,9 @@ def _strategy_command(*command: str, shell: bool = False):
expanded_command = list(map(expand_path, command))
try:
stdout = subprocess.check_output(expanded_command, universal_newlines=True, shell=shell)
stdout = subprocess.check_output(
expanded_command, universal_newlines=True, shell=shell
)
return stdout.strip("\n")
except OSError as e:
cmd = " ".join(expanded_command)