483 @param code message code to check for |
483 @param code message code to check for |
484 @type str |
484 @type str |
485 @return flag indicating to ignore the given code |
485 @return flag indicating to ignore the given code |
486 @rtype bool |
486 @rtype bool |
487 """ |
487 """ |
488 return ( |
488 return code in self.__ignore or ( |
489 code in self.__ignore |
489 code.startswith(self.__ignore) and not code.startswith(self.__select) |
490 or (code.startswith(self.__ignore) and not code.startswith(self.__select)) |
|
491 ) |
490 ) |
492 |
491 |
493 def __error(self, lineNumber, offset, code, *args): |
492 def __error(self, lineNumber, offset, code, *args): |
494 """ |
493 """ |
495 Private method to record an issue. |
494 Private method to record an issue. |