From f7d4ca1ac849088f12cf1ed1a4b2f5d8e86f1621 Mon Sep 17 00:00:00 2001 From: Vadim Laletin Date: Fri, 20 Dec 2024 00:07:30 +0100 Subject: [PATCH] Fix ruff --- aidbox_logging/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aidbox_logging/__init__.py b/aidbox_logging/__init__.py index aee8068..8952494 100644 --- a/aidbox_logging/__init__.py +++ b/aidbox_logging/__init__.py @@ -41,9 +41,9 @@ def __init__( self.meta = meta super().__init__(*args, **kwargs) - def getPayload( + def getPayload( # noqa: N802 the logging module is written using camelCase self: Self, record: logging.LogRecord - ) -> dict: # noqa: N802 the logging module is written using camelCase + ) -> dict: message = self.format(record) meta = record.__dict__.get("meta", None) level = record.levelname