Repository URL to install this package:
Version:
1.0.8-1 ▾
|
wlanpi-profiler
/
opt
/
wlanpi-profiler
/
lib
/
python3.7
/
site-packages
/
coverage
/
__pycache__
/
cmdline.cpython-37.pyc
|
---|
B MðÝåÞd;ã @ s d Z ddlmZ ddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlmZ ddlm Z ddlmZ ddlmZ ddlmZmZmZ dd lmZ dd lmZmZmZmZ ddlmZ G dd d eZ G dd dej!eZ"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.ge( ddde$de(ddde$de(dd e$d!e(d"d#de$d$e j/e j)e j0e j*e j+e j,e j1e j2e j3e j4e j5e j6ge( dd%de$d&e j/e j0e j*e j+e j,e j7e j8e j2ge( dd'de$d(e j/e j0e j*e j+e j,e j1e j9e j:e j3e j4e j5ge( dd)de$d*e j-e j;e j<e j=e j+e j>e j,e j?e j@e jAe jBge( d+d,de$d-e j0e j*e j+e j,e jCe j5ge( dd.dd/ ZDdCd0d1ZEd2\ZFZGZHG d3d4 d4eZId5d6 ZJd7d8 ZKd9d:d;d<ZLdDd=d>ZMejN Od?d@¡ZPePrddAlQmRZR eMZSdEdBd>ZMdS )Fz%Command-line support for coverage.py.é )Úprint_functionN)ÚCoverage)Úenv)ÚCTracer)Úline_counts)Úinfo_formatterÚinfo_headerÚshort_stack)ÚPyRunner)ÚBaseCoverageExceptionÚExceptionDuringRunÚNoSourceÚoutput_encoding)Úshould_fail_underc @ st e Zd ZdZejdddddZejdddd dZejdd dddZdd dddgZ ejdddde dd e ¡ dZejddddddZejddddddZ ejdddd d!dZejdd"dd#d$d%d&Zejd'd(dd)dZejd*d+dd,dZejdd-dd.d/dZejd0d1dd2dZejd3dd4d5dZejd6d7dd8dZejd9dd:dZejd;d<d=d>d?Zejd@ddAdZejdBddCdZejddDdd.dEdZejddFddGdHdZejdIdddJdKdLdMZejdIdddJdKdNdMZejddOddPdZejdQdRddSdZejd6dTddUdZ ejddVddWe!dXd&Z"ejddYddZdZ#ejdd[dd\d]dZ$ejdd^dd_dZ%ejdd`ddadbdZ&ejddcddddZ'deS )fÚ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.ÚthreadZgeventZgreenletZeventletÚmultiprocessingz --concurrencyÚstoreZLIBzHProperly measure code using a concurrency library. Valid values are: %s.z, )r ÚmetavarÚchoicesr z --contextZLABELz2The context label to record for this coverage run.)r r r 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--sortZCOLUMNzbSort the report by the named column: name, stmts, miss, branch, brpart, or cover. Default is name.z-mz--show-missingzEShow line numbers of statements in each module that weren't executed.z--skip-coveredzSkip files with 100% coverage.z--no-skip-coveredÚstore_falseÚskip_coveredzDisable --skip-covered.)r Údestr z--skip-emptyzSkip files with no code.z--show-contextsz Show contexts for covered lines.z--omitzhOmit files whose paths match one of these patterns. Accepts shell-style wildcards, which must be quoted.z --contextszREGEX1,REGEX2,...ziOnly display data from lines covered in the given contexts. Accepts Python regexes, which must be quoted.z-oÚoutfileZOUTFILEz=Write the XML report to this file. Defaults to 'coverage.xml')r r r 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--modulezb<pyfile> is an importable Python module, not a script path, to be run as 'python -m' would run it.z--precisionÚNzVNumber of digits after the decimal point to display for reported coverage percentages.z--rcfilezSpecify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE]z--sourcez SRC1,SRC2,...z9A list of packages or directories of code to be measured.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ÚbranchZCONCURRENCY_CHOICESÚjoinÚconcurrencyÚcontextÚdebugÚ directoryÚ fail_underr Ú ignore_errorsÚincludeÚpylibÚsortÚshow_missingr Úno_skip_coveredÚ skip_emptyÚ show_contextsÚomitÚcontextsÚ output_xmlÚoutput_jsonÚjson_pretty_printÚ parallel_modeÚmoduleÚintÚ precisionÚrcfileÚsourceÚtimidÚtitleÚversion© rF rF ú/build/wlanpi-profiler-MIf3Xw/wlanpi-profiler-1.0.8/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 sh t t| j|ddi| | jd 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' r) r+ r, r- r. r/ r r0 r1 r( r>