169 @param code message code to check for |
169 @param code message code to check for |
170 @type str |
170 @type str |
171 @return flag indicating to ignore the given code |
171 @return flag indicating to ignore the given code |
172 @rtype bool |
172 @rtype bool |
173 """ |
173 """ |
174 return ( |
174 return code in self.__ignore or ( |
175 code in self.__ignore |
175 code.startswith(self.__ignore) and not code.startswith(self.__select) |
176 or (code.startswith(self.__ignore) and not code.startswith(self.__select)) |
|
177 ) |
176 ) |
178 |
177 |
179 def reportError(self, lineNumber, offset, code, severity, confidence, *args): |
178 def reportError(self, lineNumber, offset, code, severity, confidence, *args): |
180 """ |
179 """ |
181 Public method to record an issue. |
180 Public method to record an issue. |