Пример #1
0
 def _fix_violations(self, oFile):
     for iLineNumber in self.violations[::-1]:
         fix.remove_blank_lines_above(self, oFile, iLineNumber,
                                      'isEndCaseKeyword')
 def _fix_violations(self, oFile):
     for iLineNumber in self.violations[::-1]:
         fix.remove_blank_lines_above(self, oFile, iLineNumber,
                                      self.sUnless)
Пример #3
0
 def _fix_violations(self, oFile):
     for dViolation in self.violations[::-1]:
         iLineNumber = utils.get_violation_line_number(dViolation)
         fix.remove_blank_lines_above(self, oFile, iLineNumber,
                                      'isEndCaseKeyword')
Пример #4
0
 def _fix_violations(self, oFile):
     for dViolation in self.violations[::-1]:
         fix.remove_blank_lines_above(self, oFile, dViolation['lineNumber'],
                                      'isEndCaseKeyword')
 def _fix_violations(self, oFile):
     for dViolation in self.violations[::-1]:
         fix.remove_blank_lines_above(self, oFile, dViolation['lineNumber'],
                                      self.sUnless)
Пример #6
0
 def _fix_violations(self, oFile):
     for dViolation in self.violations[::-1]:
         fix.remove_blank_lines_above(
             self, oFile, utils.get_violation_line_number(dViolation),
             self.sUnless)