@@ -90,7 +90,7 @@ async def _create_filter_list_result(
9090 self , ctx : FilterContext , defaults : Defaults , filters : Iterable [Filter ]
9191 ) -> list [Filter ]:
9292 """A helper function to evaluate the result of `filter_list_result`."""
93- passed_by_default , failed_by_default = defaults .validations .evaluate (ctx )
93+ _passed_by_default , failed_by_default = defaults .validations .evaluate (ctx )
9494 default_answer = not bool (failed_by_default )
9595
9696 relevant_filters = []
@@ -160,7 +160,7 @@ def __hash__(self):
160160T = typing .TypeVar ("T" , bound = Filter )
161161
162162
163- class FilterList (dict [ListType , AtomicList ], typing . Generic [ T ], FieldRequiring ):
163+ class FilterList [ T ] (dict [ListType , AtomicList ], FieldRequiring ):
164164 """Dispatches events to lists of _filters, and aggregates the responses into a single list of actions to take."""
165165
166166 # Each subclass must define a name matching the filter_list name we're expecting to receive from the database.
@@ -268,7 +268,7 @@ class UniquesListBase(FilterList[UniqueFilter], ABC):
268268 Each unique filter subscribes to a subset of events to respond to.
269269 """
270270
271- def __init__ (self , filtering_cog : " Filtering" ):
271+ def __init__ (self , filtering_cog : Filtering ):
272272 super ().__init__ ()
273273 self .filtering_cog = filtering_cog
274274 self .loaded_types : dict [str , type [UniqueFilter ]] = {}
0 commit comments