122 @param code message code to check for |
122 @param code message code to check for |
123 @type str |
123 @type str |
124 @return flag indicating to ignore the given code |
124 @return flag indicating to ignore the given code |
125 @rtype bool |
125 @rtype bool |
126 """ |
126 """ |
127 return ( |
127 return code in self.__ignore or ( |
128 code in self.__ignore |
128 code.startswith(self.__ignore) and not code.startswith(self.__select) |
129 or (code.startswith(self.__ignore) and not code.startswith(self.__select)) |
|
130 ) |
129 ) |
131 |
130 |
132 def __error(self, lineNumber, offset, code, *args): |
131 def __error(self, lineNumber, offset, code, *args): |
133 """ |
132 """ |
134 Private method to record an issue. |
133 Private method to record an issue. |