Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py

changeset 2984
031cceaa8b01
parent 2982
556adfe76ba7
child 3004
c4bf32c791d0
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py	Fri Oct 04 17:21:14 2013 +0200
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py	Fri Oct 04 17:35:44 2013 +0200
@@ -443,7 +443,7 @@
                         else:
                             ignore = []
                         
-                        # check PEP-8
+                        # check coding style
                         styleGuide = pep8.StyleGuide(
                             reporter=CodeStyleCheckerReport,
                             repeat=repeatMessages,
@@ -455,14 +455,14 @@
                         report = styleGuide.check_files([file])
                         stats.update(report.counters)
                         
-                        # check PEP-257
-                        pep257Checker = DocStyleChecker(
+                        # check documentation style
+                        docStyleChecker = DocStyleChecker(
                             source, file, select, ignore, [], repeatMessages,
                             maxLineLength=maxLineLength, docType=docType)
-                        pep257Checker.run()
-                        stats.update(pep257Checker.counters)
+                        docStyleChecker.run()
+                        stats.update(docStyleChecker.counters)
                         
-                        errors = report.errors + pep257Checker.errors
+                        errors = report.errors + docStyleChecker.errors
                     
                     deferredFixes = {}
                     for error in errors:

eric ide

mercurial