TaskViewer: fixed some code style issues.

Thu, 04 Feb 2021 14:38:33 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 04 Feb 2021 14:38:33 +0100
changeset 8068
28457602b8f8
parent 8067
a467ab075be0
child 8069
1176a936efa4

TaskViewer: fixed some code style issues.

eric6/Tasks/TaskViewer.py file | annotate | diff | comparison | revisions
diff -r a467ab075be0 -r 28457602b8f8 eric6/Tasks/TaskViewer.py
--- a/eric6/Tasks/TaskViewer.py	Thu Feb 04 14:38:01 2021 +0100
+++ b/eric6/Tasks/TaskViewer.py	Thu Feb 04 14:38:33 2021 +0100
@@ -710,7 +710,8 @@
         files = self.project.pdata["SOURCES"]
         
         # apply file filter
-        filterList = [f.strip() for f in self.__projectTasksScanFilter.split(",")
+        filterList = [f.strip()
+                      for f in self.__projectTasksScanFilter.split(",")
                       if f.strip()]
         if filterList:
             for scanFilter in filterList:
@@ -806,14 +807,14 @@
         """
         return self.__projectTasksScanFilter.strip()
     
-    def setTasksScanFilter(self, filter: str):
+    def setTasksScanFilter(self, filterStr: str):
         """
         Public method to set the project scan filter.
         
-        @param filter project scan filter
+        @param filterStr project scan filter
         @type str
         """
-        self.__projectTasksScanFilter = filter
+        self.__projectTasksScanFilter = filterStr
 
 
 class ProjectTaskExtractionThread(QThread):

eric ide

mercurial