@@ -87,7 +87,7 @@ def on_kill(self):
8787 """
8888 self .runner .stop = True
8989
90- def _exit_gracefully (self , signum , frame ) -> None : # pylint: disable=unused-argument
90+ def _exit_gracefully (self , signum , frame ) -> None :
9191 """Helper method to clean up processor_agent to avoid leaving orphan processes."""
9292 # The first time, try to exit nicely
9393 if not self .runner .stop :
@@ -104,7 +104,7 @@ def _execute(self) -> None:
104104 self .runner .start ()
105105 # Start our own DB loop in the main thread
106106 self ._run_trigger_loop ()
107- except Exception : # pylint: disable=broad-except
107+ except Exception :
108108 self .log .exception ("Exception when executing TriggererJob._run_trigger_loop" )
109109 raise
110110 finally :
@@ -227,8 +227,7 @@ def __init__(self):
227227
228228 def run (self ):
229229 """Sync entrypoint - just runs arun in an async loop."""
230- # Pylint complains about this with a 3.6 base, can remove with 3.7+
231- asyncio .run (self .arun ()) # pylint: disable=no-member
230+ asyncio .run (self .arun ())
232231
233232 async def arun (self ):
234233 """
@@ -288,7 +287,7 @@ async def cleanup_finished_triggers(self):
288287 ones that have exited, optionally warning users if the exit was
289288 not normal.
290289 """
291- for trigger_id , details in list (self .triggers .items ()): # pylint: disable=too-many-nested-blocks
290+ for trigger_id , details in list (self .triggers .items ()):
292291 if details ["task" ].done ():
293292 # Check to see if it exited for good reasons
294293 try :
0 commit comments