Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AWhetter committed Jul 20, 2024
1 parent acad72b commit 746e00d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions autoapi/_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,7 @@ def _output_top_rst(self):
"No modules were rendered. "
"Do you need to set autoapi_options to render additional objects?"
)
LOGGER.warning(
msg, type="autoapi", subtype="nothing_rendered"
)
LOGGER.warning(msg, type="autoapi", subtype="nothing_rendered")
return

with open(top_level_index, "wb") as top_level_file:
Expand Down
2 changes: 1 addition & 1 deletion tests/python/pynorender/example/_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ def func() -> int:


class Foo:
"""This is a class."""
"""This is a class."""
2 changes: 1 addition & 1 deletion tests/python/test_pyintegration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1201,4 +1201,4 @@ def test_nothing_to_render_raises_warning(builder):
with pytest.raises(sphinx.errors.SphinxWarning) as exc_info:
builder("pynorender", warningiserror=True)

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

0 comments on commit 746e00d

Please sign in to comment.