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