fix(aurora): pylint fixes
This commit is contained in:
parent
fb92cdc08c
commit
001fccfe34
1 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ class Aurora(commands.Cog):
|
||||||
This cog stores all of its data in an SQLite database."""
|
This cog stores all of its data in an SQLite database."""
|
||||||
|
|
||||||
__author__ = ["Seaswimmer"]
|
__author__ = ["Seaswimmer"]
|
||||||
__version__ = "3.0.0-indev10"
|
__version__ = "3.0.0-indev11"
|
||||||
__documentation__ = "https://seacogs.coastalcommits.com/aurora/"
|
__documentation__ = "https://seacogs.coastalcommits.com/aurora/"
|
||||||
|
|
||||||
async def red_delete_data_for_user(self, *, requester, user_id: int):
|
async def red_delete_data_for_user(self, *, requester, user_id: int):
|
||||||
|
@ -806,9 +806,9 @@ class Aurora(commands.Cog):
|
||||||
await interaction.followup.send(embed=embed, ephemeral=ephemeral)
|
await interaction.followup.send(embed=embed, ephemeral=ephemeral)
|
||||||
|
|
||||||
@history.autocomplete('types')
|
@history.autocomplete('types')
|
||||||
async def _history_types(self, interaction: discord.Interaction, current: str) -> List[app_commands.Choice[str]]:
|
async def _history_types(self, interaction: discord.Interaction, current: str) -> List[app_commands.Choice[str]]: # pylint: disable=unused-argument
|
||||||
types: List[str] = sorted(self.type_registry.keys())
|
types: List[str] = sorted(self.type_registry.keys())
|
||||||
choices = list()
|
choices = []
|
||||||
if current.endswith(","):
|
if current.endswith(","):
|
||||||
for c in current.split(","):
|
for c in current.split(","):
|
||||||
if c in types:
|
if c in types:
|
||||||
|
|
Loading…
Reference in a new issue