Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 28, 2024
1 parent 46ff401 commit 9a0984a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/enrich/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion test/test_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down
1 change: 1 addition & 0 deletions test/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import re

import pytest

from enrich.console import Console
from enrich.logging import RichHandler

Expand Down

0 comments on commit 9a0984a

Please sign in to comment.