Skip to content

Commit 782bcfd

Browse files
Fix ruff errors
1 parent 9d16a10 commit 782bcfd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ class TestSetupDiscordGuildID:
646646
ids=[f"case_{i}" for i in range(6)],
647647
)
648648
def test_setup_discord_guild_id_successful(self, test_discord_guild_id: str) -> None:
649-
"""Test that the given `_DISCORD_MAIN_GUILD_ID` is used when a valid one is provided."""
649+
"""Test the given `_DISCORD_MAIN_GUILD_ID` is used when a valid one is provided."""
650650
RuntimeSettings: Final[type[Settings]] = config._settings_class_factory() # noqa: SLF001
651651

652652
with EnvVariableDeleter("_DISCORD_MAIN_GUILD_ID"):
@@ -656,7 +656,9 @@ def test_setup_discord_guild_id_successful(self, test_discord_guild_id: str) ->
656656

657657
RuntimeSettings._is_env_variables_setup = True # noqa: SLF001
658658

659-
assert RuntimeSettings()["_DISCORD_MAIN_GUILD_ID"] == int(test_discord_guild_id.strip())
659+
assert RuntimeSettings()["_DISCORD_MAIN_GUILD_ID"] == int(
660+
test_discord_guild_id.strip()
661+
)
660662

661663
def test_missing_discord_guild_id(self) -> None:
662664
"""Test that an error is raised when no `DISCORD_GUILD_ID` is provided."""

0 commit comments

Comments
 (0)