File: //home/arjun/projects/env/lib/python3.10/site-packages/coverage/__pycache__/config.cpython-310.pyc
o
!weV � @ s d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl m
Z
mZmZm
Z
mZmZmZmZ ddlmZ ddlmZmZmZ ddlmZmZ ddlmZmZmZmZm Z m!Z! ee�ZG d d
� d
ej"�Z#ee#ef Z$dgZ%dgZ&d
dgZ'G dd� dee!�Z(ddd�Z)ddd�Z*dS )zConfig file for coverage.py� )�annotationsN)�Any�Callable�Dict�Iterable�List�Optional�Tuple�Union)�ConfigError)�isolate_module�human_sorted_items�substitute_variables)�TomlConfigParser�TomlDecodeError)�
TConfigurable�TConfigSectionIn�TConfigValueIn�TConfigSectionOut�TConfigValueOut�
TPluginConfigc s� e Zd ZdZd'� fdd�Z d(d)� fdd�
Zd*� fdd�Zd+� fdd�Zd,dd�Zd-� fdd�Z d.dd�Z
d/� fd!d"�Zd0d#d$�Zd0d%d&�Z
� ZS )1�HandyConfigParserz#Our specialization of ConfigParser.�our_file�bool�return�Nonec s. t � jdd� dg| _|r| j�d� dS dS )z�Create the HandyConfigParser.
`our_file` is True if this config file is specifically for coverage,
False if we are examining another config file (tox.ini, setup.cfg)
for possible settings.
N)�
interpolationz coverage:� )�super�__init__�section_prefixes�append)�selfr �� __class__� �H/home/arjun/projects/env/lib/python3.10/site-packages/coverage/config.pyr ! s
�zHandyConfigParser.__init__N� filenames�
Iterable[str]�encoding_unused�
Optional[str]� List[str]c s t � j|dd�S )z-Read a file name as UTF-8 configuration data.zutf-8)�encoding)r �read)r"