src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Unused/UnusedChecker.py

branch
eric7
changeset 10127
a7018026aae2
parent 10066
251638443e17
child 10185
29e896e9e74e
equal deleted inserted replaced
10126:32e6b6cb3cd1 10127:a7018026aae2
169 if self.__args["IgnoreSlotMethods"] and ( 169 if self.__args["IgnoreSlotMethods"] and (
170 "pyqtSlot" in decoratorNames or "Slot" in decoratorNames 170 "pyqtSlot" in decoratorNames or "Slot" in decoratorNames
171 ): 171 ):
172 continue 172 continue
173 173
174 # TODO: add 'IgnoreEventHandlerMethods' to ignore Qt event handlers
175 # - function name ends with 'Event'
176 # - function name is 'event' or 'eventFilter'
177 if self.__args["IgnoreEventHandlerMethods"] and self.__isEventHandlerMethod( 174 if self.__args["IgnoreEventHandlerMethods"] and self.__isEventHandlerMethod(
178 functionNode 175 functionNode
179 ): 176 ):
180 continue 177 continue
181 178

eric ide

mercurial