Skip to content

Commit

Permalink
Fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ruscoder committed Dec 19, 2024
1 parent d05f092 commit f7d4ca1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aidbox_logging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f7d4ca1

Please sign in to comment.