Skip to content

Commit d73cc5e

Browse files
committed
fixes pylint for previous
1 parent 649479c commit d73cc5e

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

dozer/cogs/filter.py

-1
Original file line numberDiff line numberDiff line change
@@ -409,4 +409,3 @@ async def get_by(cls, **kwargs):
409409
obj = WordFilterRoleWhitelist(guild_id=result.get("guild_id"), role_id=result.get("role_id"))
410410
result_list.append(obj)
411411
return result_list
412-

dozer/cogs/roles.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ async def removal_timer(self, record):
127127
@Cog.listener('on_guild_role_update')
128128
async def on_role_edit(self, old, new):
129129
"""Changes role names in database when they are changed in the guild"""
130-
if self.normalize(old.name)!=self.normalize(new.name):
130+
if self.normalize(old.name) != self.normalize(new.name):
131131
results = await GiveableRole.get_by(norm_name=self.normalize(old.name), guild_id=old.guild.id)
132132
if results:
133133
DOZER_LOGGER.debug(f"Role {new.id} name updated. updating name")

dozer/cogs/tba.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ async def slash_weather(self, ctx: SlashContext, team_program, team_number: int)
236236

237237
@command()
238238
@bot_has_permissions(embed_links=True)
239-
async def weather(self, ctx, team_program, team_num:int):
239+
async def weather(self, ctx, team_program, team_num: int):
240240
"""Finds the current weather for a given team."""
241241

242242
if team_program.lower() == "frc":

dozer/cogs/voice.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ async def get_by(cls, **kwargs):
219219
result_list = []
220220
for result in results:
221221
obj = AutoPTT(
222-
channel_id=result.get("channel_id"),
223-
ptt_limit=result.get("ptt_limit"))
222+
channel_id=result.get("channel_id"),
223+
ptt_limit=result.get("ptt_limit"))
224224
result_list.append(obj)
225225
return result_list
226226

0 commit comments

Comments
 (0)