mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Run Ruff on `tests/roots/
`
This commit is contained in:
@@ -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()',
|
||||
|
Reference in New Issue
Block a user