.. link: .. description: .. tags: .. date: 2013/08/18 00:00:00 .. title: NINJA-IDE .. slug: pyflakes .. class:: alert alert-info pull-top .. contents:: *Module:* `pyflakes.py `_ API ======================================================================================================= | Implementation of the command-line I{pyflakes} tool. *Imports:* ------------ - `compiler `_ - `os `_ - `sys `_ *Global Attributes:* ---------------------- - `checker [at ln:10] `_ ---- *Global Functions:* --------------------- *Function:* `check(codeString, filename) [at ln:13] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def check(codeString, filename): | 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} | | @return: The number of warnings emitted. | @rtype: C{int} ---- *Function:* `checkPath(filename) [at ln:70] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def checkPath(filename): | Check the given path, printing out any warnings detected. | | @return: the number of warnings printed ---- *Function:* `main() [at ln:82] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def main(): No description.