src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py

branch
server
changeset 10594
6156d9675f62
parent 10580
b84587f848c7
parent 10579
be997a4bd670
child 10704
27d21e5163b8
equal deleted inserted replaced
10592:2bada76be1a6 10594:6156d9675f62
202 """ 202 """
203 Do the source code style check and/or fix found errors. 203 Do the source code style check and/or fix found errors.
204 204
205 @param filename source filename 205 @param filename source filename
206 @type str 206 @type str
207 @param source string containing the source code to check 207 @param source list of code lines to be checked
208 @type str 208 @type list of str
209 @param args arguments used by the codeStyleCheck function (list of 209 @param args arguments used by the codeStyleCheck function (list of
210 excludeMessages, includeMessages, repeatMessages, fixCodes, 210 excludeMessages, includeMessages, repeatMessages, fixCodes,
211 noFixCodes, fixIssues, maxLineLength, maxDocLineLength, blankLines, 211 noFixCodes, fixIssues, maxLineLength, maxDocLineLength, blankLines,
212 hangClosing, docType, codeComplexityArgs, miscellaneousArgs, 212 hangClosing, docType, codeComplexityArgs, miscellaneousArgs,
213 annotationArgs, securityArgs, importsArgs, nameOrderArgs, unusedArgs, errors, 213 annotationArgs, securityArgs, importsArgs, nameOrderArgs, unusedArgs, errors,
321 """ 321 """
322 Private module function to perform a syntax check. 322 Private module function to perform a syntax check.
323 323
324 @param filename source filename 324 @param filename source filename
325 @type str 325 @type str
326 @param source string containing the source code to check 326 @param source list of code lines to be checked
327 @type str 327 @type list of str
328 @return tuple containing the error dictionary with syntax error details, 328 @return tuple containing the error dictionary with syntax error details,
329 a statistics dictionary and None or a tuple containing two None and 329 a statistics dictionary and None or a tuple containing two None and
330 the generated AST tree 330 the generated AST tree
331 @rtype tuple of (dict, dict, None) or tuple of (None, None, ast.Module) 331 @rtype tuple of (dict, dict, None) or tuple of (None, None, ast.Module)
332 """ 332 """
364 Private module function to perform the source code style check and/or fix 364 Private module function to perform the source code style check and/or fix
365 found errors. 365 found errors.
366 366
367 @param filename source filename 367 @param filename source filename
368 @type str 368 @type str
369 @param source string containing the source code to check 369 @param source list of code lines to be checked
370 @type str 370 @type list of str
371 @param args arguments used by the codeStyleCheck function (list of 371 @param args arguments used by the codeStyleCheck function (list of
372 excludeMessages, includeMessages, repeatMessages, fixCodes, 372 excludeMessages, includeMessages, repeatMessages, fixCodes,
373 noFixCodes, fixIssues, maxLineLength, maxDocLineLength, blankLines, 373 noFixCodes, fixIssues, maxLineLength, maxDocLineLength, blankLines,
374 hangClosing, docType, codeComplexityArgs, miscellaneousArgs, 374 hangClosing, docType, codeComplexityArgs, miscellaneousArgs,
375 annotationArgs, securityArgs, importsArgs, nameOrderArgs, unusedArgs, errors, 375 annotationArgs, securityArgs, importsArgs, nameOrderArgs, unusedArgs, errors,

eric ide

mercurial