105 @param code message code to check for |
105 @param code message code to check for |
106 @type str |
106 @type str |
107 @return flag indicating to ignore the given code |
107 @return flag indicating to ignore the given code |
108 @rtype bool |
108 @rtype bool |
109 """ |
109 """ |
110 return ( |
110 return code in self.__ignore or ( |
111 code in self.__ignore |
111 code.startswith(self.__ignore) and not code.startswith(self.__select) |
112 or (code.startswith(self.__ignore) and not code.startswith(self.__select)) |
|
113 ) |
112 ) |
114 |
113 |
115 def __error(self, lineNumber, offset, code, *args): |
114 def __error(self, lineNumber, offset, code, *args): |
116 """ |
115 """ |
117 Private method to record an issue. |
116 Private method to record an issue. |