Changed doc style checker to perform checks on empty files as well.

Sat, 27 Sep 2014 12:50:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Sep 2014 12:50:44 +0200
changeset 3822
1faf52d8f2bd
parent 3821
8731f4bf0704
child 3828
30d93023d609

Changed doc style checker to perform checks on empty files as well.

Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py file | annotate | diff | comparison | revisions
diff -r 8731f4bf0704 -r 1faf52d8f2bd Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py
--- a/Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py	Sat Sep 27 12:34:27 2014 +0200
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py	Sat Sep 27 12:50:44 2014 +0200
@@ -315,7 +315,7 @@
         Public method to check the given source for violations of doc string
         conventions.
         """
-        if not self.__source or not self.__filename:
+        if not self.__filename:
             # don't do anything, if essential data is missing
             return
         

eric ide

mercurial