src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/NameOrder/NameOrderChecker.py

branch
eric7
changeset 11145
d328a7b74fd8
parent 11142
2f0fb22c1d63
child 11150
73d80859079c
equal deleted inserted replaced
11144:8c40c5e1ebe0 11145:d328a7b74fd8
94 @param code message code to check for 94 @param code message code to check for
95 @type str 95 @type str
96 @return flag indicating to ignore the given code 96 @return flag indicating to ignore the given code
97 @rtype bool 97 @rtype bool
98 """ 98 """
99 return ( 99 return code in self.__ignore or (
100 code in self.__ignore 100 code.startswith(self.__ignore) and not code.startswith(self.__select)
101 or (code.startswith(self.__ignore) and not code.startswith(self.__select))
102 ) 101 )
103 102
104 def __error(self, lineNumber, offset, code, *args): 103 def __error(self, lineNumber, offset, code, *args):
105 """ 104 """
106 Private method to record an issue. 105 Private method to record an issue.

eric ide

mercurial