From ba04858328163acb79c4754a18103ba7d1301897 Mon Sep 17 00:00:00 2001 From: imcompiling Date: Mon, 17 Feb 2025 16:08:29 -0500 Subject: [PATCH] Remove pylint stuff. --- cogs/commands/create.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cogs/commands/create.py b/cogs/commands/create.py index 602f57e..a894848 100644 --- a/cogs/commands/create.py +++ b/cogs/commands/create.py @@ -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,