Repository URL to install this package:
Version:
1.0.11 ▾
|
wlanpi-profiler
/
opt
/
wlanpi-profiler
/
lib
/
python3.7
/
site-packages
/
coverage
/
__pycache__
/
cmdline.cpython-37.pyc
|
---|
B deÏD\Uã @ s. d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl m Z ddl mZ ddlm Z ddlmZ ddlmZmZ ddlmZmZmZ dd lmZmZmZ dd lmZ ddlmZmZ G dd d Z G dd dej!Z"G dd de"Z#G dd de"Z$e j%e j&e j'gZ(e$de j)e j*e j+e j,ge( ddde$de j-e j.e j/ge( ddde$de(ddde$de(dd e$d!e(d"d#de$d$e j0e j)e j1e j*e j+e j,e j2e j/e j3e j4e j5e j6e j7g e( dd%de$d&e j0e j1e j*e j+e j,e j8e j9e j/e j3g e( dd'de$d(e j0e j1e j*e j+e j,e j2e j:e j;e j4e j5e j6ge( dd)de$d*e j-e j<e j=e j>e j+e j?e j,e j@e jAe jBe jCge( d+d,de$d-e j1e j*e j+e j,e jDe j/e j6ge( dd.dd/ ZEdCd0d1ZFd2\ZGZHZIG d3d4 d4ZJd5d6 ZKd7d8 ZLd9d:d;d<ZMdDd=d>ZNejO Pd?d@¡ZQeQr*ddAlRmSZS eNZTdEdBd>ZNdS )Fz%Command-line support for coverage.py.é N)ÚCoverage)Úenv)ÚCTracer)ÚCoverageConfig)Úcombinable_filesÚdebug_data_file)Úinfo_formatterÚinfo_headerÚshort_stack)Ú_BaseCoverageExceptionÚ_ExceptionDuringRunÚNoSource)ÚPyRunner)ÚNumbersÚshould_fail_underc @ s~ e Zd ZdZejdddddZejdddd dZejdd dddZejddd dd d eej ¡¡dZejddd dddZejddd dddZejddd dddZejddd dddZejddd d d!d"d#Zejd$d%dd&dZejd'd(dd)dZejdd*d d+d,dZejd-d.dd/dZejd0d1dd2dZejd0d3dd4dZejdd5d d+d6dZejd7dd d8d9d:d;Zejd7dd d8d9d<d;Zejdd=dd>dZejd?d@ddAdZejddBd dCedDd#Z ejdEdFddGdZ!ejddHd dIdZ"ejdJddKdZ#ejdLddMdZ$ejdNdOdPdQdRZ%ejdSddTdZ&ejdUd dVdWdZ'ejddXd dYdZdZ(ejdd[dd\dZ)ejdd]d d^d_dZ*ejdd`ddadZ+dbS )cÚOptszBA namespace class for individual options we'll build parsers from.z-az--appendÚ store_truezGAppend coverage data to .coverage, otherwise it starts clean each time.)ÚactionÚhelpÚ z--keepz9Keep original coverage files, otherwise they are deleted.z--branchz:Measure branch coverage in addition to statement coverage.z --concurrencyÚstoreÚLIBSzaProperly measure code using a concurrency library. Valid values are: {}, or a comma-list of them.z, )r Úmetavarr z --contextZLABELz2The context label to record for this coverage run.z --contextszREGEX1,REGEX2,...ziOnly display data from lines covered in the given contexts. Accepts Python regexes, which must be quoted.z--debugZOPTSz9Debug options, separated by commas. [env: COVERAGE_DEBUG]z-dz--directoryZDIRzWrite the output files to DIR.z--fail-underZMINÚfloatz?Exit with a status of 2 if the total coverage is less than MIN.)r r Útyper z-hz--helpzGet help on this command.z-iz--ignore-errorsz)Ignore errors while reading source files.z --includez PAT1,PAT2,...zpInclude only files whose paths match one of these patterns. Accepts shell-style wildcards, which must be quoted.z-Lz--pylibzWMeasure coverage even inside the Python installed library, which isn't done by default.z-mz--show-missingzEShow line numbers of statements in each module that weren't executed.z--modulezb<pyfile> is an importable Python module, not a script path, to be run as 'python -m' would run it.z--omitzhOmit files whose paths match one of these patterns. Accepts shell-style wildcards, which must be quoted.z-oÚoutfileZOUTFILEz=Write the XML report to this file. Defaults to 'coverage.xml')r Údestr r z?Write the JSON report to this file. Defaults to 'coverage.json'z--pretty-printz"Format the JSON for human readers.z-pz--parallel-modezAppend the machine name, process id and random number to the .coverage data file name to simplify collecting data from many processes.z--precisionÚNzVNumber of digits after the decimal point to display for reported coverage percentages.z-qz--quietz-Don't print messages about what is happening.z--rcfilezSpecify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE]z--show-contextsz Show contexts for covered lines.z--skip-coveredzSkip files with 100% coverage.z--no-skip-coveredÚstore_falseÚskip_coveredzDisable --skip-covered.)r r r z--skip-emptyzSkip files with no code.z--sortZCOLUMNzbSort the report by the named column: name, stmts, miss, branch, brpart, or cover. Default is name.z--sourcez SRC1,SRC2,...z=A list of directories or importable names of code to measure.z--timidzXUse a simpler but slower trace method. Try this if you get seemingly impossible results!z--titleZTITLEz.A text string to use as the title on the HTML.z --versionz%Display version information and exit.N),Ú__name__Ú __module__Ú__qualname__Ú__doc__ÚoptparseÚmake_optionÚappendÚkeepÚbranchÚformatÚjoinÚsortedr ZCONCURRENCY_CHOICESÚconcurrencyÚcontextÚcontextsÚdebugÚ directoryÚ fail_underr Ú ignore_errorsÚincludeÚpylibÚshow_missingÚmoduleÚomitÚ output_xmlÚoutput_jsonÚjson_pretty_printÚ parallel_modeÚintÚ precisionÚquietÚrcfileÚ show_contextsr Úno_skip_coveredÚ skip_emptyÚsortÚsourceÚtimidÚtitleÚversion© rH rH ú/build/wlanpi-profiler-7IIg1Q/wlanpi-profiler-1.0.11/debian/wlanpi-profiler/opt/wlanpi-profiler/lib/python3.7/site-packages/coverage/cmdline.pyr sÎ r c sF e Zd ZdZ fddZG dd deZd fdd Zd d Z Z S )ÚCoverageOptionParserz|Base OptionParser for coverage.py. Problems don't exit the program. Defaults are initialized for all options. c sf t j|ddi| | jd d d d d d d d d d d d d d d d d d d dd d d d d d d d d d | ¡ d S )NÚadd_help_optionFT)r r&