From fe369f9cb90a6a213af04004710fff4cd46aca72 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 9 Nov 2025 23:22:54 +0000 Subject: Updates for new Ruff version --- pydis_core/utils/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pydis_core/utils/logging.py') diff --git a/pydis_core/utils/logging.py b/pydis_core/utils/logging.py index 256151a8..9e9e5d12 100644 --- a/pydis_core/utils/logging.py +++ b/pydis_core/utils/logging.py @@ -48,7 +48,7 @@ def get_logger(name: str | None = None) -> CustomLogger: Returns: An instance of the :obj:`CustomLogger` class. """ - return typing.cast(CustomLogger, logging.getLogger(name)) + return typing.cast("CustomLogger", logging.getLogger(name)) # Setup trace level logging so that we can use it within pydis_core. -- cgit v1.2.3