133 @param code message code to check for |
133 @param code message code to check for |
134 @type str |
134 @type str |
135 @return flag indicating to ignore the given code |
135 @return flag indicating to ignore the given code |
136 @rtype bool |
136 @rtype bool |
137 """ |
137 """ |
138 return ( |
138 return code in self.__ignore or ( |
139 code in self.__ignore |
139 code.startswith(self.__ignore) and not code.startswith(self.__select) |
140 or (code.startswith(self.__ignore) and not code.startswith(self.__select)) |
|
141 ) |
140 ) |
142 |
141 |
143 def __error(self, lineNumber, offset, code, *args): |
142 def __error(self, lineNumber, offset, code, *args): |
144 """ |
143 """ |
145 Private method to record an issue. |
144 Private method to record an issue. |