/opt/cloudlinux/venv/lib/python3.11/site-packages/pyflakes/__pycache__
NameSizeModeActions
api.cpython-311.pyc86270644editdlrm
checker.cpython-311.pyc1173200644editdlrm
messages.cpython-311.pyc217340644editdlrm
reporter.cpython-311.pyc44360644editdlrm
__init__.cpython-311.pyc2280644editdlrm
__main__.cpython-311.pyc3810644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/pyflakes/__pycache__/api.cpython-311.pyc (8627B)
§ ¥Äj]E%´hãó¬—dZddlZddlZddlZddlZddlZddlmZmZddlm Z gd¢Z ej d¦«Z dd„Zdd„Zd „Zd „Zd „Zd „Zd „Zdd„ZdS)z, API for the command-line I{pyflakes} tool. éN)ÚcheckerÚ __version__)Úreporter)ÚcheckÚ checkPathÚcheckRecursiveÚiterSourceCodeÚmains#^#!.*\bpython(3(\.\d+)?|w)?[dmu]?\scó*—|€tj¦«} tj||¬¦«}nm#t$r>}| ||jd|j|j|j ¦«Yd}~dSd}~wt$r|  |d¦«YdSwxYwtj |¦«}tj|||¬¦«}|j d„¬¦«|jD]}| |¦«Œt%|j¦«S) a³ Check the Python source given by C{codeString} for flakes. @param codeString: The Python source to check. @type codeString: C{str} @param filename: The name of the file the source came from, used to report errors. @type filename: C{str} @param reporter: A L{Reporter} instance, where errors and warnings will be reported. @return: The number of warnings emitted. @rtype: C{int} N)Úfilenamerézproblem decoding source)Ú file_tokensr có—|jS©N)Úlineno)Úms ú^/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/pyflakes/api.pyúzcheck..1s€ !¤(€ó)Úkey)Ú modReporterÚ_makeDefaultReporterÚastÚparseÚ SyntaxErrorÚ syntaxErrorÚargsrÚoffsetÚtextÚ ExceptionÚunexpectedErrorrÚ make_tokensÚCheckerÚmessagesÚsortÚflakeÚlen)Ú codeStringr rÚtreeÚerÚwÚwarnings rrrs-€ð"ÐÝÔ3Ñ5Ô5ˆðÝŒy˜¨hÐ7Ñ7Ô7ˆˆøÝ ðððØ×Ò˜X q¤v¨a¤y°!´(¸A¼HÀaÄfÑMÔMÐM؈qˆqˆqˆqˆqøøøøÝ ðððØ× Ò  Ð+DÑEÔEÐE؈qˆqðøøøõÔ% jÑ1Ô1€KÝŒ˜¨+ÀÐIÑIÔI€AØ„J‡O‚OÐ*Ð*€OÑ+Ô+Ð+Ø”:ð ð ˆØ�Š�wÑÔÐÐÝ ˆqŒz‰?Œ?Ðs—.® B¸3A1Á1#BÂBcó<—|€tj¦«} t|d¦«5}| ¦«}ddd¦«n #1swxYwYn9#t$r,}| ||jd¦«Yd}~dSd}~wwxYwt|||¦«S)zÒ Check the given path, printing out any warnings detected. @param reporter: A L{Reporter} instance, where errors and warnings will be reported. @return: the number of warnings printed NÚrbr )rrÚopenÚreadÚOSErrorr!rr)r rÚfÚcodestrr*s rrr7sé€ðÐÝÔ3Ñ5Ô5ˆðÝ �(˜DÑ !Ô !ð  QØ—f’f‘h”hˆGð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð øøå ðððØ× Ò  ¨1¬6°!¬9Ñ5Ô5Ð5؈qˆqˆqˆqˆqøøøøðøøøõ �˜( HÑ -Ô -Ð-s9—A§A¼ AÁA Á AÁA ÁAÁ B Á!BÂB cóX—| d¦«rdS| d¦«rdSd} t|d¦«5}| |¦«}|s ddd¦«dS ddd¦«n #1swxYwYn#t$rYdSwxYwt |¦«S)z0Return True if filename points to a Python file.z.pyTú~Fé€r.N)Úendswithr/r0r1ÚPYTHON_SHEBANG_REGEXÚmatch)r Ú max_bytesr2rs rÚ isPythonFiler;Ks*€à×Ò˜ÑÔð؈tð×Ò˜ÑÔð؈uà€IðÝ �(˜DÑ !Ô !ð  QØ—6’6˜)Ñ$Ô$ˆDØð Øð ð ð ñ ô ð ð ð ð ð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð øøõ ððð؈uˆuðøøøõ × %Ò % dÑ +Ô +Ð+s;²BÁA5Á BÁ) BÁ5A9Á9BÁ<A9Á=B BÂBc#óK—|D]y}tj |¦«rTtj|¦«D]>\}}}|D]5}tj ||¦«}t |¦«r|V—Œ6Œ?Œu|V—ŒzdS)zç Iterate over all Python source files in C{paths}. @param paths: A list of paths. Directories will be recursed into and any .py files found will be yielded. Any non-directories will be yielded as-is. N)ÚosÚpathÚisdirÚwalkÚjoinr;)Úpathsr>ÚdirpathÚdirnamesÚ filenamesr Ú full_paths rr r asªèè€ðððˆÝ Œ7�=Š=˜Ñ Ô ð Ý02´¸± ´ ð (ð (Ñ,�˜ 9Ø )ð(ð(�HÝ "¤§ ¢ ¨W°hÑ ?Ô ?�IÝ# IÑ.Ô.ð(Ø'˜˜˜øð(ð (ð ˆJˆJˆJˆJððrcóT—d}t|¦«D]}|t||¦«z }Œ|S)a; Recursively check all source files in C{paths}. @param paths: A list of paths to Python source files and directories containing Python source files. @param reporter: A L{Reporter} where all of the warnings and errors will be reported to. @return: The number of warnings found. r)r r)rBrÚwarningsÚ sourcePaths rrrts;€ð€HÝ$ UÑ+Ô+ð4ð4ˆ Ø•I˜j¨(Ñ3Ô3Ñ3ˆˆØ €Orcó°‡—ddl} t||¦«}n#t$rYdSwxYwˆfd„} | ||¦«dS#t$rYdSwxYw)z¥Handles a signal with sys.exit. Some of these signals (SIGPIPE, for example) don't exist or are invalid on Windows. So, ignore errors that might arise. rNcó0•—tj‰¦«dSr)ÚsysÚexit)Úsigr2Úmessages €rÚhandlerz_exitOnSignal..handler”sø€Ý Œ�ÑÔÐÐÐr)ÚsignalÚgetattrÚAttributeErrorÚ ValueError)ÚsigNamerOrQÚ sigNumberrPs ` rÚ _exitOnSignalrW„s¤ø€ð €M€M€MðݘF GÑ,Ô,ˆ ˆ øÝ ðððð ˆˆð øøøð ððððð Ø� Š �i Ñ)Ô)Ð)Ð)Ð)øÝ ð ð ð ð ˆˆð øøøs‡˜ &¥&¯AÁ AÁAcód—t›dtj¦«›dtj¦«›�S)zQ Retrieve and format package version along with python version & OS used z Python z on )rÚplatformÚpython_versionÚsystem©rrÚ _get_versionr]Ÿs5€õ ˆ[ˆ[�(Ô1Ñ3Ô3Ð3Ð3µX´_Ñ5FÔ5FÐ5Fð HðIrcóô—ddl}tdd¦«tdd¦«| |d¬¦«}| d d d t ¦«¬ ¦«| d dd¬¦«| |¬¦«j}tj¦«}|rt||¦«}n-ttj   ¦«d|¦«}t|dk¦«‚)z&Entry point for the script "pyflakes".rNÚSIGINTz ... stoppedÚSIGPIPEr z$Check Python source files for errors)ÚprogÚ descriptionz-Vz --versionÚversion)Úactionrcr>Ú*z7Path(s) of Python file(s) to check. STDIN if not given.)ÚnargsÚhelp)rz)ÚargparserWÚArgumentParserÚ add_argumentr]Ú parse_argsr>rrrrrLÚstdinr0Ú SystemExit)rarrhÚparserrrHs rr r §s€à€O€O€Oõ�(˜MÑ*Ô*Ð*Ý�)˜QÑÔÐà × $Ò $¨$Ø1Wð%ñYôY€Fà ×Ò˜˜k°)Å\Á^Ä^ÐÑTÔTÐTØ ×Ò˜ cØVðñXôXðXà × Ò  $Ð Ñ 'Ô 'Ô ,€DÝÔ/Ñ1Ô1€HØ ð@Ý! $¨Ñ1Ô1ˆˆå�œŸšÑ)Ô)¨9°hÑ?Ô?ˆÝ �X ’\Ñ "Ô "Ð"rr)NN)Ú__doc__rr=rYÚrerLÚpyflakesrrrrÚ__all__Úcompiler8rrr;r rrWr]r r\rrúrtsðððð € € € Ø € € € Ø€€€Ø € € € Ø € € € à)Ð)Ð)Ð)Ð)Ð)Ð)Ð)Ø,Ð,Ð,Ð,Ð,Ð,à LÐ LÐ L€à!�r”zÐ"IÑJÔJÐð"ð"ð"ð"ðJ.ð.ð.ð.ð(,ð,ð,ð,ððð& ð ð ð  ð ð ð6IðIðIð#ð#ð#ð#ð#ð#r