chore: fix mote A violations in tests and scripts

This commit is contained in:
Matthias
2024-07-05 08:54:49 +02:00
parent 4a4e6bc952
commit 1e287de589
5 changed files with 18 additions and 18 deletions

View File

@@ -172,10 +172,10 @@ class ClientProtocol:
return readable_timedelta(time_delta)
async def _handle_whitelist(self, name, type, data):
async def _handle_whitelist(self, name, msgtype, data):
self.logger.info(data)
async def _handle_analyzed_df(self, name, type, data):
async def _handle_analyzed_df(self, name, msgtype, data):
key, la, df = data["key"], data["la"], data["df"]
if not df.empty:
@@ -189,8 +189,8 @@ class ClientProtocol:
else:
self.logger.info("Empty DataFrame")
async def _handle_default(self, name, type, data):
self.logger.info("Unknown message of type {type} received...")
async def _handle_default(self, name, msgtype, data):
self.logger.info("Unknown message of type {msgtype} received...")
self.logger.info(data)