Viewing File: /opt/hc_python/lib/python3.12/site-packages/pre_commit/__pycache__/xargs.cpython-312.pyc
�
i0i� � � � d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl
mZ d dl
mZ d dl
m
Z
d dl
mZ d dl
mZ d dlmZ d d lmZ d d
lmZ d dlmZ d dlmZ ed
� Z ed� Zdd�Zddd�Zdd�Zdd�Z G d� de� Z d dd�Z ejB d d�� Z"dd e� d� d!d�Z#y)"� )�annotationsN)�Callable)� Generator)�Iterable)�MutableMapping)�Sequence)�Any)�TypeVar)�
parse_shebang)�cmd_output_b)�cmd_output_p�TArg�TRetc � � t t j d� � S # t $ r Y nw xY w t j
� S # t $ r Y yw xY w)Nr � )�len�os�sched_getaffinity�AttributeError�multiprocessing� cpu_count�NotImplementedError� � �?/opt/hc_python/lib/python3.12/site-packages/pre_commit/xargs.pyr r sW � �
� �2�'�'��*�+�+���
��
����(�(�*�*��� ���s � � ,�,�A � A�Ac �� � | �| nt t dt j � }dt |� z }|j � D ]"