/snap/core22/2411/usr/lib/python3.10/distutils/command/__pycache__
Edit: /snap/core22/2411/usr/lib/python3.10/distutils/command/__pycache__/check.cpython-310.pyc (4953B)
o
bc @ s d Z ddlmZ ddlmZ z$ddlmZ ddlmZ ddl m
Z
ddl mZ G dd d eZd
Z
W n ey= dZ
Y nw G dd
d
eZdS )zCdistutils.command.check
Implements the Distutils 'check' command.
)Command)DistutilsSetupError)Reporter)Parser)frontend)nodesc @ s" e Zd Z d ddZdd ZdS )
SilentReporterNr asciireplacec
C s" g | _ t| ||||||| d S N)messagesr __init__)selfsourcereport_level
halt_levelstreamdebugencoding
error_handler r ./usr/lib/python3.10/distutils/command/check.pyr
s zSilentReporter.__init__c O s8 | j ||||f tj|g|R || j| d|S )N)leveltype)r appendr system_messagelevels)r r messagechildrenkwargsr r r r s zSilentReporter.system_message)Nr r r
)__name__
__module____qualname__r
r r r r r r s
r TFc @ s\ e Zd ZdZdZg dZg dZdd Zdd Zd d
Z dd Z
d
d Zdd Zdd Z
dS )checkz6This command checks the meta-data of the package.
z"perform some checks on the package))metadatamzVerify meta-data)restructuredtextrzEChecks if long string meta-data syntax are reStructuredText-compliant)strictsz(Will exit with an error if a check fails)r$ r&