Skip to content

Commit eb1dbe4

Browse files
committed
fix typing
1 parent 7ed133a commit eb1dbe4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

autointent/_logging/formatter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import datetime as dt
22
import json
33
import logging
4-
from typing import Any, override
4+
from typing import Any
55

66
LOG_RECORD_BUILTIN_ATTRS = {
77
"args",
@@ -41,7 +41,6 @@ def __init__(
4141
super().__init__()
4242
self.fmt_keys = fmt_keys if fmt_keys is not None else {}
4343

44-
@override
4544
def format(self, record: logging.LogRecord) -> str:
4645
message = self._prepare_log_dict(record)
4746
return json.dumps(message, default=str)

autointent/_logging/setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ def setup_logging(level: LogLevel | str, log_to_filepath: Path | str | None = No
2525
"filename": str(log_to_filepath),
2626
}
2727

28-
2928
logging.config.dictConfig(config)

0 commit comments

Comments
 (0)