Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py

changeset 3591
2f2a4a76dd22
parent 3558
7f2bc8910d28
child 3616
081b69e00f3e
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
365 self.files.sort() 365 self.files.sort()
366 self.check() 366 self.check()
367 367
368 def check(self, codestring='', onlyFixes={}): 368 def check(self, codestring='', onlyFixes={}):
369 """ 369 """
370 Start a style check for one file. 370 Public method to start a style check for one file.
371 371
372 The results are reported to the __processResult slot. 372 The results are reported to the __processResult slot.
373 373
374 @keyparam codestring optional sourcestring (str) 374 @keyparam codestring optional sourcestring (str)
375 @keyparam onlyFixes dict which violations should be fixed (dict) 375 @keyparam onlyFixes dict which violations should be fixed (dict)
427 self.styleCheckService.styleCheck( 427 self.styleCheckService.styleCheck(
428 None, self.filename, self.source, args) 428 None, self.filename, self.source, args)
429 429
430 def __processResult(self, fn, codeStyleCheckerStats, fixes, results): 430 def __processResult(self, fn, codeStyleCheckerStats, fixes, results):
431 """ 431 """
432 Privat slot called after perfoming a style check on one file. 432 Private slot called after perfoming a style check on one file.
433 433
434 @param fn filename of the just checked file (str) 434 @param fn filename of the just checked file (str)
435 @param codeStyleCheckerStats stats of style and name check (dict) 435 @param codeStyleCheckerStats stats of style and name check (dict)
436 @param fixes number of applied fixes (int) 436 @param fixes number of applied fixes (int)
437 @param results tuple for each found violation of style (tuple of 437 @param results tuple for each found violation of style (tuple of

eric ide

mercurial