ó
    Ð]j�  ã                  óø   • S r SSKJr  SSKrSSKJrJr  SSKJrJ	r	J
r
  SSKJrJr  SSKJrJr  SSKJrJr  SS	KJr  SS
KJr  SSKJr  \	(       a  SSKJr   " S S\
5      r          SS jr      SS jrg)z$Reporter foundation for coverage.py.é    )ÚannotationsN)ÚCallableÚIterable)ÚIOÚTYPE_CHECKINGÚProtocol)ÚNoDataErrorÚ	NotPython)ÚGlobMatcherÚprep_patterns)Úensure_dir_for_fileÚfile_be_gone)ÚFileReporter)ÚAnalysis)ÚTMorfs)ÚCoveragec                  ó.   • \ rS rSr% SrS\S'   SS jrSrg)	ÚReporteré   zWhat we expect of reporters.ÚstrÚreport_typec                ó   • g)z3Generate a report of `morfs`, written to `outfile`.N© )ÚselfÚmorfsÚoutfiles      ÚQ/home/mande/repo/quber/.venv/lib/python3.13/site-packages/coverage/report_core.pyÚreportÚReporter.report   s   � ó    r   N)r   r   r   zIO[str]ÚreturnÚfloat)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__annotations__r   Ú__static_attributes__r   r    r   r   r      s   ‡ Ù&àÓ÷Br    r   c                óp  • SnSnU S:X  a  [         R                  nO[        U 5        [        U SSS9nUnSn UR	                  X&S9nUb  U" S	UR
                   S
U  35        SnUUb$  UR                  5         U(       a  [        U 5        $ $ $ ! Ub$  UR                  5         U(       a  [        U 5        f f f = f)zÀRun a one-file report generator, managing the output file.

This function ensures the output file is ready to be written to. Then writes
the report to it. Then closes the file and cleans up.

NFÚ-Úwzutf-8)ÚencodingT)r   zWrote z to )ÚsysÚstdoutr   Úopenr   r   Úcloser   )Úoutput_pathÚreporterr   ÚmsgfnÚfile_to_closeÚdelete_filer   Úrets           r   Úrender_reportr8       sÏ   € ð €MØ€Kà�cÓÜ—*‘*‰ô
 	˜KÔ(Ü�{ C°'Ñ:ˆØˆØˆð
*Ø�o‰o˜eˆoÐ5ˆØÑ$Ù�F˜8×/Ñ/Ð0°°[°MÐBÔCØˆØàÑ$Ø×ÑÔ!ÞÜ˜[Õ)ð ð %øˆ=Ñ$Ø×ÑÔ!ÞÜ˜[Õ)ð ð %ús   ·-B Â)B5c              #  óÜ  #   • U R                  U5      nU R                  nUR                  (       aX  [        [	        UR                  5      S5      nU VVs/ s H*  u  pVUR                  UR                  5      (       d  M'  XV4PM,     nnnUR                  (       aX  [        [	        UR                  5      S5      nU VVs/ s H*  u  pVUR                  UR                  5      (       a  M'  XV4PM,     nnnU(       d  [        S5      e[        U5       H  u  pV U R                  U5      nXW4v •  M     g
s  snnf s  snnf ! [         aN    UR                  5       (       a5  UR                  (       a#  SUR                   S3nU R                  USS9   M€  e  M„  [         aM  n	UR                  (       a6  SUR                   S	U	 3R!                  5       nU R                  USS9   S
n	A	MÔ  e S
n	A	ff = f7f)zÉGet the files to report on.

For each morf in `morfs`, if it should be reported on (based on the omit
and include configuration options), yield a pair, the `FileReporter` and
`Analysis` for the morf.

Úreport_includeÚreport_omitzNo data to report.zCouldn't parse Python file 'Ú'zcouldnt-parse)ÚslugzCouldn't parse 'z': N)Ú_get_file_reportersÚconfigr:   r   r   ÚmatchÚfilenamer;   r	   ÚsortedÚ_analyzer
   Úshould_be_pythonÚignore_errorsÚ_warnÚ	ExceptionÚrstrip)
Úcoverager   Úfr_morfsr?   ÚmatcherÚfrÚmorfÚanalysisÚmsgÚexcs
             r   Úget_analysis_to_reportrQ   G   s˜  é € ð ×+Ñ+¨EÓ2€HØ�_‰_€Fà××Üœm¨F×,AÑ,AÓBÐDTÓUˆÙ19ÔX²¡: B¸W¿]¹]È2Ï;É;×=W“J�R“J±ˆÑXà××Üœm¨F×,>Ñ,>Ó?ÀÓOˆÙ19Ô\²¡: BÀÇÁÈrÏ{É{×A[“J�R“J±ˆÑ\æÜÐ.Ó/Ð/ä˜8Ö$‰ˆð	!Ø×(Ñ(¨Ó.ˆHð& �.Ô ò+ %ùó Yùó ]øô ó 
	ð
 ×"Ñ"×$Ñ$Ø×'×'Ø8¸¿¹¸ÀQÐG�CØ—N‘N 3¨_�NÔ=àò %ô ó 	Ø×#×#Ø(¨¯©¨°S¸¸Ð>×EÑEÓG�Ø—‘˜s¨�×9àûð	üst   ‚AG,Á&D0Á?D0Â8G,Â>&D6Ã(D6Ã/%G,ÄD<Ä&G,Ä<AG)ÆG,ÆG)ÆG,Æ	G)ÆAG$ÇG,Ç#G$Ç$G)Ç)G,)
r2   r   r3   r   r   r   r4   zCallable[[str], None]r!   r"   )rI   r   r   r   r!   z'Iterable[tuple[FileReporter, Analysis]])r'   Ú
__future__r   r.   Úcollections.abcr   r   Útypingr   r   r   Úcoverage.exceptionsr	   r
   Úcoverage.filesr   r   Úcoverage.miscr   r   Úcoverage.pluginr   Úcoverage.resultsr   Úcoverage.typesr   rI   r   r   r8   rQ   r   r    r   Ú<module>r[      s’   ðñ +å "ã 
ß .ß .Ñ .ç 6ß 5ß ;Ý (Ý %Ý !æÝ!ôBˆxô Bð$*Øð$*àð$*ð ð$*ð !ð	$*ð
 ô$*ðN.!Øð.!àð.!ð -õ.!r    