Remove all pylint supressors.

This commit is contained in:
2025-03-03 23:41:58 -05:00
parent b04819aa36
commit 9550d1a68b
9 changed files with 2 additions and 12 deletions
@@ -4,7 +4,6 @@ import nextcord
from sqlalchemy import distinct, exc, select
from sqlalchemy.orm import Session
# pylint: disable=import-error
from database.db import Category, CategoryGroup, Score, engine
from utilities.utils import send_highscore_message
@@ -19,7 +18,7 @@ class UpdateUsernameVerifyView(nextcord.ui.View):
super().__init__(timeout=None)
@nextcord.ui.button(label="Deny", style=nextcord.ButtonStyle.red, custom_id="deny-username-update")
async def deny_button(self, button: nextcord.ui.Button, interaction: nextcord.Interaction): # pylint: disable=unused-argument
async def deny_button(self, button: nextcord.ui.Button, interaction: nextcord.Interaction):
"""
Button for denying username update. Deletes message.
@@ -30,7 +29,7 @@ class UpdateUsernameVerifyView(nextcord.ui.View):
await interaction.message.delete()
@nextcord.ui.button(label="Approve", style=nextcord.ButtonStyle.green, custom_id="approve-username-update")
async def approve_button(self, button: nextcord.ui.Button, interaction: nextcord.Interaction): # pylint: disable=unused-argument
async def approve_button(self, button: nextcord.ui.Button, interaction: nextcord.Interaction):
"""
Button for approving username update. Tells guild data to update username, then updates
message to show it is complete.