mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
work around python/mypy#11852
This commit is contained in:
parent
d7ac975454
commit
83675fe768
2 changed files with 6 additions and 3 deletions
|
|
@ -159,7 +159,8 @@ def xargs(
|
|||
)
|
||||
|
||||
threads = min(len(partitions), target_concurrency)
|
||||
with _thread_mapper(threads) as thread_map:
|
||||
# https://github.com/python/mypy/issues/11852
|
||||
with _thread_mapper(threads) as thread_map: # type: ignore
|
||||
results = thread_map(run_cmd_partition, partitions)
|
||||
|
||||
for proc_retcode, proc_out, _ in results:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue