94 @param code message code to check for |
94 @param code message code to check for |
95 @type str |
95 @type str |
96 @return flag indicating to ignore the given code |
96 @return flag indicating to ignore the given code |
97 @rtype bool |
97 @rtype bool |
98 """ |
98 """ |
99 return ( |
99 return code in self.__ignore or ( |
100 code in self.__ignore |
100 code.startswith(self.__ignore) and not code.startswith(self.__select) |
101 or (code.startswith(self.__ignore) and not code.startswith(self.__select)) |
|
102 ) |
101 ) |
103 |
102 |
104 def __error(self, lineNumber, offset, code, *args): |
103 def __error(self, lineNumber, offset, code, *args): |
105 """ |
104 """ |
106 Private method to record an issue. |
105 Private method to record an issue. |