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 warni
(paths, reporter)
| 113 | |
| 114 | |
| 115 | def checkRecursive(paths, reporter): |
| 116 | """ |
| 117 | Recursively check all source files in C{paths}. |
| 118 | |
| 119 | @param paths: A list of paths to Python source files and directories |
| 120 | containing Python source files. |
| 121 | @param reporter: A L{Reporter} where all of the warnings and errors |
| 122 | will be reported to. |
| 123 | @return: The number of warnings found. |
| 124 | """ |
| 125 | warnings = 0 |
| 126 | for sourcePath in iterSourceCode(paths): |
| 127 | warnings += checkPath(sourcePath, reporter) |
| 128 | return warnings |
| 129 | |
| 130 | |
| 131 | def _exitOnSignal(sigName, message): |
searching dependent graphs…