82 @param code message code to check for |
82 @param code message code to check for |
83 @type str |
83 @type str |
84 @return flag indicating to ignore the given code |
84 @return flag indicating to ignore the given code |
85 @rtype bool |
85 @rtype bool |
86 """ |
86 """ |
87 return ( |
87 return code in self.__ignore or ( |
88 code in self.__ignore |
88 code.startswith(self.__ignore) and not code.startswith(self.__select) |
89 or (code.startswith(self.__ignore) and not code.startswith(self.__select)) |
|
90 ) |
89 ) |
91 |
90 |
92 def __error(self, lineNumber, offset, code, *args): |
91 def __error(self, lineNumber, offset, code, *args): |
93 """ |
92 """ |
94 Private method to record an issue. |
93 Private method to record an issue. |