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

branch
eric7
changeset 11145
d328a7b74fd8
parent 11142
2f0fb22c1d63
child 11147
dee6e106b4d3
equal deleted inserted replaced
11144:8c40c5e1ebe0 11145:d328a7b74fd8
346 @param code message code to check for 346 @param code message code to check for
347 @type str 347 @type str
348 @return flag indicating to ignore the given code 348 @return flag indicating to ignore the given code
349 @rtype bool 349 @rtype bool
350 """ 350 """
351 return ( 351 return code in self.__ignore or (
352 code in self.__ignore 352 code.startswith(self.__ignore) and not code.startswith(self.__select)
353 or (code.startswith(self.__ignore) and not code.startswith(self.__select))
354 ) 353 )
355 354
356 def __error(self, lineNumber, offset, code, *args): 355 def __error(self, lineNumber, offset, code, *args):
357 """ 356 """
358 Private method to record an issue. 357 Private method to record an issue.

eric ide

mercurial