fix pylint

This commit is contained in:
geekan 2023-12-19 19:15:30 +08:00
parent b7bd846769
commit 6dfa4e2c9e
5 changed files with 12 additions and 13 deletions

View file

@ -54,4 +54,4 @@ class ProductManager(Role):
return self._rc.todo
async def _observe(self, ignore_memory=False) -> int:
return await super(ProductManager, self)._observe(ignore_memory=True)
return await super()._observe(ignore_memory=True)

View file

@ -178,4 +178,4 @@ class QaEngineer(Role):
async def _observe(self, ignore_memory=False) -> int:
# This role has events that trigger and execute themselves based on conditions, and cannot rely on the
# content of memory to activate.
return await super(QaEngineer, self)._observe(ignore_memory=True)
return await super()._observe(ignore_memory=True)