From 456c36ac84261bbf2ac37bfc7e0b99f9a40e9a19 Mon Sep 17 00:00:00 2001 From: Ahmed Tammaa Date: Fri, 20 Dec 2024 01:59:41 +0000 Subject: [PATCH] fixed all formatting issues and checked with pre-commit --- .../text-splitters/tests/unit_tests/test_text_splitters.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/text-splitters/tests/unit_tests/test_text_splitters.py b/libs/text-splitters/tests/unit_tests/test_text_splitters.py index 2e039f1764223..4e5c0bca4c106 100644 --- a/libs/text-splitters/tests/unit_tests/test_text_splitters.py +++ b/libs/text-splitters/tests/unit_tests/test_text_splitters.py @@ -2041,8 +2041,9 @@ def test_haskell_code_splitter() -> None: @pytest.fixture @pytest.mark.requires("bs4") -def html_header_splitter_splitter_factory() -> Callable[ - [List[Tuple[str, str]]], HTMLHeaderTextSplitter]: +def html_header_splitter_splitter_factory() -> ( + Callable[[List[Tuple[str, str]]], HTMLHeaderTextSplitter] +): """ Fixture to create an HTMLHeaderTextSplitter instance with given headers. This factory allows dynamic creation of splitters with different headers. @@ -2247,7 +2248,7 @@ def test_html_header_text_splitter( html_input: str, expected_documents: List[Document], test_case: str, -): +) -> None: """ Test the HTML header text splitter.