chore(text-splitters): enable ruff docstring-code-format (#32854)

This commit is contained in:
Christophe Bornet
2025-09-08 22:40:11 +02:00
committed by GitHub
parent 05d14775f2
commit 8b90eae455
2 changed files with 4 additions and 2 deletions

View File

@@ -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 = [

View File

@@ -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.