Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py

changeset 3588
ce1f00c0d96d
parent 3587
e2f10b5fd032
child 3589
48aded8560dc
equal deleted inserted replaced
3587:e2f10b5fd032 3588:ce1f00c0d96d
1239 if firstWord != 'private': 1239 if firstWord != 'private':
1240 self.__error(docstringContext.start() + lineNumber, 0, 1240 self.__error(docstringContext.start() + lineNumber, 0,
1241 "D232", 'private') 1241 "D232", 'private')
1242 elif functionName.startswith('_') or \ 1242 elif functionName.startswith('_') or \
1243 functionName.endswith('Event') or \ 1243 functionName.endswith('Event') or \
1244 functionName == 'event': 1244 functionName in ['event', 'eventFilter']:
1245 if firstWord != 'protected': 1245 if firstWord != 'protected':
1246 self.__error(docstringContext.start() + lineNumber, 0, 1246 self.__error(docstringContext.start() + lineNumber, 0,
1247 "D232", 'protected') 1247 "D232", 'protected')
1248 else: 1248 else:
1249 if firstWord != 'public': 1249 if firstWord != 'public':

eric ide

mercurial