Exemple #1
0
 def _fix_violations(self, oFile):
     for iLineNumber in self.violations[::-1]:
         fix.insert_blank_line_above(self, oFile, iLineNumber)
 def _fix_violations(self, oFile):
     for dViolation in self.violations[::-1]:
         fix.insert_blank_line_above(self, oFile, dViolation['lineNumber'])
Exemple #3
0
 def _fix_violations(self, oFile):
     for dViolation in self.violations[::-1]:
         fix.insert_blank_line_above(
             self, oFile, utils.get_violation_line_number(dViolation))
Exemple #4
0
 def _fix_violations(self, oFile):
     for dViolation in self.violations[::-1]:
         iLineNumber = utils.get_violation_line_number(dViolation)
         fix.insert_blank_line_above(self, oFile, iLineNumber)
         oFile.lines[iLineNumber].insideProcess = True
 def _fix_violations(self, oFile):
     for iLineNumber in self.violations[::-1]:
         fix.insert_blank_line_above(self, oFile, iLineNumber)
         oFile.lines[iLineNumber].insideProcess = True