186 @param filename source filename (string) |
186 @param filename source filename (string) |
187 @param source string containing the code to check (string) |
187 @param source string containing the code to check (string) |
188 @param args arguments used by the codeStyleCheck function (list of |
188 @param args arguments used by the codeStyleCheck function (list of |
189 excludeMessages (str), includeMessages (str), repeatMessages |
189 excludeMessages (str), includeMessages (str), repeatMessages |
190 (bool), fixCodes (str), noFixCodes (str), fixIssues (bool), |
190 (bool), fixCodes (str), noFixCodes (str), fixIssues (bool), |
191 maxLineLength (int), hangClosing (bool), docType (str), errors |
191 maxLineLength (int), hangClosing (bool), docType (str), maximum |
192 (list of str), eol (str), encoding (str), backup (bool)) |
192 allowed code complexity (int), dictionary with arguments for the |
193 @return tuple of stats (dict) and results (tuple for each found violation |
193 miscellaneous checker (dict), errors (list of str), eol (str), |
194 of style (tuple of lineno (int), position (int), text (str), ignored |
194 encoding (str), backup (bool)) |
195 (bool), fixed (bool), autofixing (bool), fixedMsg (str))) |
195 @return tuple of statistics (dict) and results (tuple for each found |
|
196 violation of style (tuple of lineno (int), position (int), text (str), |
|
197 ignored (bool), fixed (bool), autofixing (bool), fixedMsg (str))) |
196 """ |
198 """ |
197 (excludeMessages, includeMessages, repeatMessages, fixCodes, noFixCodes, |
199 (excludeMessages, includeMessages, repeatMessages, fixCodes, noFixCodes, |
198 fixIssues, maxLineLength, hangClosing, docType, maxComplexity, |
200 fixIssues, maxLineLength, hangClosing, docType, maxComplexity, |
199 miscellaneousArgs, errors, eol, encoding, backup) = args |
201 miscellaneousArgs, errors, eol, encoding, backup) = args |
200 |
202 |