Цi
- d Z dZddlZddlZddlZg dZdadad Zd Z G d de
Zd Z G d
d Z
d Zd
Zd Zedk( r e yy)a The Tab Nanny despises ambiguous indentation. She knows no mercy.
tabnanny -- Detection of ambiguous indentation
For the time being this module is intended to be called as a script.
However it is possible to import it into an IDE and use the function
check() described below.
Warning: The API provided by this module is likely to change in future
releases; such changes may not be backward compatible.
6 N)checkNannyNagprocess_tokensc d}| D ]/ }t j j |t | z d}1 t j j d t j d y )N
)sysstderrwritestrexit)argssepargs /usr/lib/python3.12/tabnanny.pyerrprintr sT
C
s3x( JJTHHQK c Z dd l } | j t j dd d \ }}D ]" \ }}|dk( r t
dz a|dk( st dz a$ st dt j d d |D ]
}t | y # | j $ r}t | Y d }~yd }~ww xY w)Nr r qvz-qz-vzUsage:z[-v] file_or_directory ...)getoptr argverrorr
filename_onlyverboser )r optsr msgoar s r mainr" ( s ]]388AB<6
d "19)A-M9kG "
388A;(DE
c
<<