Sat, 27 Sep 2014 12:50:44 +0200
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