diff --git a/libs/text-splitters/pyproject.toml b/libs/text-splitters/pyproject.toml index 35ced364e4d..17757ed0276 100644 --- a/libs/text-splitters/pyproject.toml +++ b/libs/text-splitters/pyproject.toml @@ -66,6 +66,9 @@ ignore_missing_imports = true [tool.ruff] target-version = "py39" +[tool.ruff.format] +docstring-code-format = true + [tool.ruff.lint] select = [ "ALL",] ignore = [ diff --git a/libs/text-splitters/tests/unit_tests/conftest.py b/libs/text-splitters/tests/unit_tests/conftest.py index d56ef0cedf7..93192d5f6f4 100644 --- a/libs/text-splitters/tests/unit_tests/conftest.py +++ b/libs/text-splitters/tests/unit_tests/conftest.py @@ -35,8 +35,7 @@ def pytest_collection_modifyitems( .. code-block:: python @pytest.mark.requires("package1", "package2") - def test_something(): - ... + def test_something(): ... """ # Mapping from the name of a package to whether it is installed or not.