diff options
| author | 2025-11-09 23:22:54 +0000 | |
|---|---|---|
| committer | 2025-11-09 23:22:54 +0000 | |
| commit | fe369f9cb90a6a213af04004710fff4cd46aca72 (patch) | |
| tree | 824d9fe6f1b9efc570f29c9b2f34ace2d9a3a5c3 /pydis_core/utils/logging.py | |
| parent | Update ruff version (diff) | |
Updates for new Ruff version
Diffstat (limited to 'pydis_core/utils/logging.py')
| -rw-r--r-- | pydis_core/utils/logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
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. |