[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] 2023-11-18 13:15:50 +00:00
parent 455fc07ad9
commit cc295879b8
2 changed files with 3 additions and 3 deletions

View file

@ -175,9 +175,9 @@ def xargs(
)
if dry_run:
for run_cmd in partitions:
print("DRY RUN EXEC: ", " ".join(run_cmd))
print('DRY RUN EXEC: ', ' '.join(run_cmd))
retcode = 0
stdout = b""
stdout = b''
else:
threads = min(len(partitions), target_concurrency)
with _thread_mapper(threads) as thread_map:

View file

@ -18,7 +18,7 @@ def run_language(
is_local: bool = False,
require_serial: bool = True,
color: bool = False,
dry_run: bool = False
dry_run: bool = False,
) -> tuple[int, bytes]:
prefix = Prefix(str(path))
version = version or language.get_default_version()