src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Async/AsyncChecker.py

branch
eric7
changeset 11145
d328a7b74fd8
parent 11142
2f0fb22c1d63
child 11150
73d80859079c
equal deleted inserted replaced
11144:8c40c5e1ebe0 11145:d328a7b74fd8
81 @param code message code to check for 81 @param code message code to check for
82 @type str 82 @type str
83 @return flag indicating to ignore the given code 83 @return flag indicating to ignore the given code
84 @rtype bool 84 @rtype bool
85 """ 85 """
86 return ( 86 return code in self.__ignore or (
87 code in self.__ignore 87 code.startswith(self.__ignore) and not code.startswith(self.__select)
88 or (code.startswith(self.__ignore) and not code.startswith(self.__select))
89 ) 88 )
90 89
91 def __error(self, lineNumber, offset, code, *args): 90 def __error(self, lineNumber, offset, code, *args):
92 """ 91 """
93 Private method to record an issue. 92 Private method to record an issue.

eric ide

mercurial