Skip to content

Commit 858e773

Browse files
committed
Fix ruff check with override
Signed-off-by: Cristian Le <git@lecris.dev>
1 parent f4bb702 commit 858e773

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tmt/log.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
)
4242

4343
from tmt._compat.pathlib import Path
44+
from tmt._compat.typing import override
4445
from tmt._compat.warnings import deprecated
4546
from tmt.container import container, simple_field
4647

@@ -314,6 +315,7 @@ def __init__(self, fmt: str, apply_colors: bool = False) -> None:
314315

315316
self._decolorize = create_decolorizer(apply_colors)
316317

318+
@override
317319
def formatMessage(self, record: logging.LogRecord) -> str:
318320
return self._decolorize(super().formatMessage(record))
319321

0 commit comments

Comments
 (0)