示例#1
0
 def _analyze(self, oFile, oLine, iLineNumber):
     if oLine.isComponentDeclaration and len(oLine.line.split()) > 2:
         check.is_single_space_before(self, 'is', oLine, iLineNumber)
 def analyze(self, oFile):
     for iLineNumber, oLine in enumerate(oFile.lines):
         if oLine.isCaseWhenEnd:
             check.is_single_space_before(self, '=>', oLine, iLineNumber)
示例#3
0
 def _analyze(self, oFile, oLine, iLineNumber):
     if oLine.isCaseWhenEnd:
         check.is_single_space_before(self, '=>', oLine, iLineNumber)
 def analyze(self, oFile):
     for iLineNumber, oLine in enumerate(oFile.lines):
         if oLine.isComponentDeclaration and len(oLine.line.split()) > 2:
             check.is_single_space_before(self, 'is', oLine, iLineNumber)
 def analyze(self, oFile):
     for iLineNumber, oLine in enumerate(oFile.lines):
         if oLine.__dict__[self.sTrigger]:
             check.is_single_space_before(self, self.sWord, oLine,
                                          iLineNumber)
 def _analyze(self, oFile, oLine, iLineNumber):
     if oLine.__dict__[self.sTrigger]:
         check.is_single_space_before(self, self.sWord, oLine, iLineNumber)