Corrected some code style issues.

Thu, 08 Apr 2021 17:27:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 08 Apr 2021 17:27:12 +0200
changeset 8204
fd477cded1c1
parent 8203
dbcdb07cb600
child 8205
4a0f1f896341

Corrected some code style issues.

eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py file | annotate | diff | comparison | revisions
eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py file | annotate | diff | comparison | revisions
eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py file | annotate | diff | comparison | revisions
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py	Thu Apr 08 17:24:05 2021 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py	Thu Apr 08 17:27:12 2021 +0200
@@ -34,8 +34,8 @@
         "A891",
     ]
 
-    def __init__(self, source, filename, tree, select, ignore, expected, repeat,
-                 args):
+    def __init__(self, source, filename, tree, select, ignore, expected,
+                 repeat, args):
         """
         Constructor
         
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py	Thu Apr 08 17:24:05 2021 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py	Thu Apr 08 17:27:12 2021 +0200
@@ -2048,7 +2048,6 @@
         code.
         """
         selectedMessageCode = self.filterComboBox.currentText()
-        print(selectedMessageCode)
         
         for topRow in range(self.resultList.topLevelItemCount()):
             topItem = self.resultList.topLevelItem(topRow)
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py	Thu Apr 08 17:24:05 2021 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py	Thu Apr 08 17:27:12 2021 +0200
@@ -1071,7 +1071,7 @@
     def __check121(self, node):
         """
         Private method to check for assignments that could be converted into
-        an augmented assignment
+        an augmented assignment.
         
         @param node reference to the AST node to be checked
         @type ast.Assign

eric ide

mercurial