Run Ruff on `tests/roots/`

This commit is contained in:
Adam Turner
2025-01-03 01:09:26 +00:00
parent b176c66f8c
commit 00ad109a39
115 changed files with 423 additions and 298 deletions

View File

@@ -455,8 +455,7 @@ def test_autodoc_docstring_signature(app):
' __init__(self, a, b=1) -> None',
' First line of docstring',
'',
' rest of docstring',
'',
' rest of docstring',
'',
'',
' .. py:method:: DocstringSig.__new__(cls, *new_args, **new_kwargs)',
@@ -466,8 +465,7 @@ def test_autodoc_docstring_signature(app):
' __new__(cls, d, e=1) -> DocstringSig',
' First line of docstring',
'',
' rest of docstring',
'',
' rest of docstring',
'',
'',
' .. py:method:: DocstringSig.meth()',
@@ -476,8 +474,7 @@ def test_autodoc_docstring_signature(app):
' meth(FOO, BAR=1) -> BAZ',
' First line of docstring',
'',
' rest of docstring',
'',
' rest of docstring',
'',
'',
' .. py:method:: DocstringSig.meth2()',