§
ã—5ž†k/Wã ó® — d Z dZddlZddlZddlZg d¢Zdadad„ Zd„ Z G d„ de
¦ « Zd „ Z G d
„ d¦ « Z
d„ Zd
„ Zedk r e ¦ « dS dS )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)ÚcheckÚNannyNagÚprocess_tokensc ó´ — d}| D ]3}t j |t |¦ « z ¦ « d}Œ4t j d¦ « d S )NÚ ú ú
)ÚsysÚstderrÚwriteÚstr)ÚargsÚsepÚargs ú5/opt/alt/python-internal/lib64/python3.11/tabnanny.pyÚerrprintr sY € Ø
€CØð ð ˆÝŒ
×Ò˜�s 3™xœx™Ñ(Ô(Ð(؈ˆÝ„J×Ò�TÑÔÐÐÐó c óx — dd l } | t j dd … d¦ « \ }}n'# | j $ r}t |¦ « Y d }~d S d }~ww xY w|D ]%\ }}|dk r
t
dz a|dk r
t dz aŒ&|s#t dt j d d¦ « d S |D ]}t |¦ « Œd S )Nr é Úqvz-qz-vzUsage:z[-v] file_or_directory ...)Úgetoptr ÚargvÚerrorr Ú
filename_onlyÚverboser )r Úoptsr ÚmsgÚoÚar s r Úmainr! ' só € Ø€M€M€MðØ—]’]¥3¤8¨A¨B¨B¤<°Ñ6Ô6‰
ˆˆdˆdøØŒ<ð ð ð Ý�‰
Œ
ˆ
؈ˆˆˆˆøøøøðøøøð ð "ð "‰ˆˆ1Ø�Š9ˆ9Ý)¨AÑ-ˆMØ�Š9ˆ9Ý ‘kˆGøØð Ý��3œ8 Aœ;Ð(DÑEÔEÐE؈Øð ð ˆÝ
ˆc‰
Œ
ˆ
ˆ
ðð s †+2 ²
A¼AÁAc ó* — e Zd ZdZd„ Zd„ Zd„ Zd„ ZdS )r zk
Raised by process_tokens() if detecting an ambiguous indent.
Captured and handled in check().
c ó2 — |||c| _ | _ | _ d S ©N)Úlinenor Úline)Úselfr% r r&