Remove pylint stuff.

This commit is contained in:
2025-02-17 16:08:29 -05:00
parent a12fca6220
commit ba04858328
+1 -6
View File
@@ -5,7 +5,6 @@ from nextcord.ext import commands
from sqlalchemy import exc, select
from sqlalchemy.orm import Session
# pylint: disable=import-error
from cogs.submission.submission_views import SubmissionCreateButton
from database_setup.sql_data_classes import Category, CategoryGroup, engine
from utilities.utils import MAX_LINE_LENGTH, autofill_groups, send_highscore_message
@@ -22,10 +21,8 @@ class CreateCog(commands.Cog, name="Create Cog"):
async def create(self, interaction: nextcord.Interaction) -> None:
"""Parent slash command for creating things. Never called."""
# need all these arguments because discord command.
# pylint: disable=too-many-arguments
@create.subcommand(description="Create a new Category. Must not exist already in Group.")
async def category( # noqa: PLR0913
async def category( # noqa: PLR0913 need all these arguments because discord command.
self,
interaction: nextcord.Interaction,
group_id: str = nextcord.SlashOption(name="group", description="Group to add Category to.", required=True),
@@ -82,8 +79,6 @@ class CreateCog(commands.Cog, name="Create Cog"):
f'"{category_name}" already exists in "{group.GroupName}". Please rename.', ephemeral=True
)
# need all these arguments because discord command.
# pylint: disable=too-many-arguments
@create.subcommand(description="Create a new Category Group. Must not exist already for Guild.")
async def group(
self,