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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Sep 2014 12:50:44 +0200
branch
5_5_x
changeset 3823
0ea489eea09c
parent 3820
c00bdab507ef
child 3831
20f8c17b9cd2

Changed doc style checker to perform checks on empty files as well.
(grafted from 1faf52d8f2bdc317164a6f347259598082653352)

Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py file | annotate | diff | comparison | revisions
--- 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