Skip to content

Commit 977d151

Browse files
committed
Fix formatting and lint findings
1 parent 4400548 commit 977d151

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ select = ["ALL"]
3838
ignore = [
3939
# incompatible with `ruff format`
4040
"COM812",
41-
# (f-)string in exception
41+
# (f-)string in exception and logging
4242
"EM101",
4343
"EM102",
4444
"TRY003",
45+
"G004",
4546
# missing docstrings
4647
"D100",
4748
"D101",

src/discord_guild_configurator/bot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
logger = logging.getLogger(__name__)
1616

17+
1718
class GuildConfigurationBot(Bot):
1819
def __init__(self, guild_id: int, action: Callable[[Guild], Awaitable[None]]) -> None:
1920
"""Discord bot which exports all guild members to .csv files and then stops itself."""

0 commit comments

Comments
 (0)