Remove all pylint supressors.
This commit is contained in:
@@ -5,7 +5,6 @@ from nextcord.ext import commands
|
|||||||
from sqlalchemy import distinct, select
|
from sqlalchemy import distinct, select
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
# pylint: disable=import-error
|
|
||||||
from database.db import Category, CategoryGroup, Score, engine
|
from database.db import Category, CategoryGroup, Score, engine
|
||||||
from utilities.utils import (
|
from utilities.utils import (
|
||||||
autofill_categories,
|
autofill_categories,
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ from nextcord.ext import commands
|
|||||||
from sqlalchemy import select
|
from sqlalchemy import select
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
# pylint: disable=import-error
|
|
||||||
from database.db import CategoryGroup, engine
|
from database.db import CategoryGroup, engine
|
||||||
from utilities.utils import autofill_groups, send_highscore_message
|
from utilities.utils import autofill_groups, send_highscore_message
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ from nextcord.ext import commands
|
|||||||
from sqlalchemy import select
|
from sqlalchemy import select
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
# pylint: disable=import-error
|
|
||||||
from database.db import CategoryGroup, Guild, engine
|
from database.db import CategoryGroup, Guild, engine
|
||||||
from utilities.utils import MAX_LINE_LENGTH, autofill_groups
|
from utilities.utils import MAX_LINE_LENGTH, autofill_groups
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ from nextcord.ext import commands
|
|||||||
from sqlalchemy import select
|
from sqlalchemy import select
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
# pylint: disable=import-error
|
|
||||||
from database.db import Guild, engine
|
from database.db import Guild, engine
|
||||||
from utilities.utils import autofill_users_in_guild
|
from utilities.utils import autofill_users_in_guild
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ from nextcord.ext import commands
|
|||||||
from sqlalchemy import select
|
from sqlalchemy import select
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
# pylint: disable=import-error
|
|
||||||
from database.db import Category, CategoryGroup, Score, engine
|
from database.db import Category, CategoryGroup, Score, engine
|
||||||
from utilities.utils import MAX_LINE_LENGTH, autofill_categories, autofill_groups, format_score_string
|
from utilities.utils import MAX_LINE_LENGTH, autofill_categories, autofill_groups, format_score_string
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ import nextcord
|
|||||||
from sqlalchemy import delete, select
|
from sqlalchemy import delete, select
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
# pylint: disable=import-error
|
|
||||||
from database.db import Category, CategoryGroup, engine
|
from database.db import Category, CategoryGroup, engine
|
||||||
from utilities.utils import send_highscore_message
|
from utilities.utils import send_highscore_message
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import nextcord
|
|||||||
from sqlalchemy import distinct, exc, select
|
from sqlalchemy import distinct, exc, select
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
# pylint: disable=import-error
|
|
||||||
from database.db import Category, CategoryGroup, Score, engine
|
from database.db import Category, CategoryGroup, Score, engine
|
||||||
from utilities.utils import send_highscore_message
|
from utilities.utils import send_highscore_message
|
||||||
|
|
||||||
@@ -19,7 +18,7 @@ class UpdateUsernameVerifyView(nextcord.ui.View):
|
|||||||
super().__init__(timeout=None)
|
super().__init__(timeout=None)
|
||||||
|
|
||||||
@nextcord.ui.button(label="Deny", style=nextcord.ButtonStyle.red, custom_id="deny-username-update")
|
@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.
|
Button for denying username update. Deletes message.
|
||||||
|
|
||||||
@@ -30,7 +29,7 @@ class UpdateUsernameVerifyView(nextcord.ui.View):
|
|||||||
await interaction.message.delete()
|
await interaction.message.delete()
|
||||||
|
|
||||||
@nextcord.ui.button(label="Approve", style=nextcord.ButtonStyle.green, custom_id="approve-username-update")
|
@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
|
Button for approving username update. Tells guild data to update username, then updates
|
||||||
message to show it is complete.
|
message to show it is complete.
|
||||||
|
|||||||
@@ -7,8 +7,6 @@ from sqlmodel import col
|
|||||||
|
|
||||||
from database.db import engine
|
from database.db import engine
|
||||||
from database.models import Submission
|
from database.models import Submission
|
||||||
|
|
||||||
# pylint: disable=import-error
|
|
||||||
from utilities.utils import submit_score
|
from utilities.utils import submit_score
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ from sqlalchemy import distinct, select
|
|||||||
from sqlalchemy.orm import Session, aliased
|
from sqlalchemy.orm import Session, aliased
|
||||||
from sqlmodel import col
|
from sqlmodel import col
|
||||||
|
|
||||||
# pylint: disable=import-error
|
|
||||||
from database.db import engine
|
from database.db import engine
|
||||||
from database.models import Category, CategoryGroup, Guild, Score
|
from database.models import Category, CategoryGroup, Guild, Score
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user