src/eric7/Tasks/TaskFilter.py

branch
eric7
changeset 10431
64157aeb0312
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/Tasks/TaskFilter.py	Wed Dec 20 19:28:22 2023 +0100
+++ b/src/eric7/Tasks/TaskFilter.py	Thu Dec 21 12:03:40 2023 +0100
@@ -42,7 +42,8 @@
         """
         Public method to activate the filter.
 
-        @param enabled flag indicating the activation state (boolean)
+        @param enabled flag indicating the activation state
+        @type bool
         """
         self.active = enabled
 
@@ -50,8 +51,8 @@
         """
         Public method to set the description filter.
 
-        @param filterStr a regular expression for the description filter
-            to set (string) or None
+        @param filterStr a regular expression for the description filter to set
+        @type str
         """
         if not filterStr:
             self.summaryFilter = None
@@ -62,8 +63,8 @@
         """
         Public method to set the filename filter.
 
-        @param filterStr a wildcard expression for the filename filter
-            to set (string) or None
+        @param filterStr a wildcard expression for the filename filter to set
+        @type str
         """
         self.filenameFilter = filterStr
 
@@ -80,7 +81,8 @@
         """
         Public method to set the scope filter.
 
-        @param scope flag indicating a project task (boolean) or None
+        @param scope flag indicating a project task
+        @type bool
         """
         self.scopeFilter = scope
 
@@ -88,7 +90,8 @@
         """
         Public method to set the status filter.
 
-        @param status flag indicating a completed task (boolean) or None
+        @param status flag indicating a completed task
+        @type bool
         """
         self.statusFilter = status
 
@@ -105,7 +108,8 @@
         """
         Public method to check for active filters.
 
-        @return flag indicating an active filter was found (boolean)
+        @return flag indicating an active filter was found
+        @rtype bool
         """
         return (
             self.summaryFilter is not None
@@ -120,8 +124,10 @@
         """
         Public method to check, if a task should be shown.
 
-        @param task reference to the task object to check (Task)
-        @return flag indicating whether the task should be shown (boolean)
+        @param task reference to the task object to check
+        @type Task
+        @return flag indicating whether the task should be shown
+        @rtype bool
         """
         if not self.active:
             return True

eric ide

mercurial