UtilitiesPython2/Pep8Checker.py

changeset 2958
ed0a8d4304a8
parent 2929
28ab0bc63d69
child 2965
d133c7edd88a
--- a/UtilitiesPython2/Pep8Checker.py	Sun Sep 29 10:22:44 2013 +0200
+++ b/UtilitiesPython2/Pep8Checker.py	Sun Sep 29 10:28:29 2013 +0200
@@ -152,10 +152,12 @@
                 for a in args:
                     print a
             print "PEP8_STATISTICS"
-            # TODO: add statistics for D
             for key in report.counters:
                 if key.startswith(("E", "N", "W")):
                     print key, report.counters[key]
+            for key in pep257Checker.counters:
+                if key.startswith("D"):
+                    print key, pep257Checker.counters[key]
         else:
             print "NO_PEP8"
             print filename

eric ide

mercurial