Added a few more check patterns to the eric summary doc style checker.

Sat, 17 May 2014 18:40:33 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 17 May 2014 18:40:33 +0200
changeset 3587
e2f10b5fd032
parent 3586
6e3a6c5b58bf
child 3588
ce1f00c0d96d

Added a few more check patterns to the eric summary doc style checker.

Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py file | annotate | diff | comparison | revisions
diff -r 6e3a6c5b58bf -r e2f10b5fd032 Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py
--- a/Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py	Sat May 17 18:18:06 2014 +0200
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py	Sat May 17 18:40:33 2014 +0200
@@ -1240,7 +1240,8 @@
                     self.__error(docstringContext.start() + lineNumber, 0,
                                  "D232", 'private')
             elif functionName.startswith('_') or \
-                    functionName.endswith('Event'):
+                functionName.endswith('Event') or \
+                    functionName == 'event':
                 if firstWord != 'protected':
                     self.__error(docstringContext.start() + lineNumber, 0,
                              "D232", 'protected')

eric ide

mercurial