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. |