Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py

changeset 5619
ab999dc48132
parent 5588
6ba512d9f46a
child 5661
ae4f5cdc3d00
equal deleted inserted replaced
5618:b50da40b6bc9 5619:ab999dc48132
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

eric ide

mercurial