diff --git a/src/enrich/logging.py b/src/enrich/logging.py index 0060d26..76a094d 100644 --- a/src/enrich/logging.py +++ b/src/enrich/logging.py @@ -19,7 +19,7 @@ class FluidLogRender: # pylint: disable=too-few-public-methods """Renders log by not using columns and avoiding any wrapping.""" # pylint: disable=too-many-arguments - def __init__( # noqa: PLR0913 + def __init__( self, show_time: bool = False, show_level: bool = False, diff --git a/test/test_console.py b/test/test_console.py index 43d8ad3..4184c43 100644 --- a/test/test_console.py +++ b/test/test_console.py @@ -4,9 +4,10 @@ import sys import pytest -from enrich.console import Console, should_do_markup from pytest_mock import MockFixture # pylint: disable=wrong-import-order +from enrich.console import Console, should_do_markup + def test_rich_console_ex() -> None: """Validate that ConsoleEx can capture output from print() calls.""" diff --git a/test/test_logging.py b/test/test_logging.py index e089c55..bf2d4f0 100644 --- a/test/test_logging.py +++ b/test/test_logging.py @@ -7,6 +7,7 @@ import re import pytest + from enrich.console import Console from enrich.logging import RichHandler