Skip to content

Commit 746e00d

Browse files
committed
Fixed formatting
1 parent acad72b commit 746e00d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

autoapi/_mapper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,7 @@ def _output_top_rst(self):
364364
"No modules were rendered. "
365365
"Do you need to set autoapi_options to render additional objects?"
366366
)
367-
LOGGER.warning(
368-
msg, type="autoapi", subtype="nothing_rendered"
369-
)
367+
LOGGER.warning(msg, type="autoapi", subtype="nothing_rendered")
370368
return
371369

372370
with open(top_level_index, "wb") as top_level_file:

tests/python/pynorender/example/_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ def func() -> int:
44

55

66
class Foo:
7-
"""This is a class."""
7+
"""This is a class."""

tests/python/test_pyintegration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,4 +1201,4 @@ def test_nothing_to_render_raises_warning(builder):
12011201
with pytest.raises(sphinx.errors.SphinxWarning) as exc_info:
12021202
builder("pynorender", warningiserror=True)
12031203

1204-
assert "No modules were rendered" in str(exc_info.value)
1204+
assert "No modules were rendered" in str(exc_info.value)

0 commit comments

Comments
 (0)