Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Finucane <stephen@that.guru>
  • Loading branch information
stephenfin committed Sep 4, 2023
1 parent abd937f commit acd60b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion sphinxcontrib/apidoc/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@


def builder_inited(app: Sphinx) -> None:
# type: (Sphinx) -> None
module_dir = app.config.apidoc_module_dir
output_dir = path.join(app.srcdir, app.config.apidoc_output_dir)
excludes = app.config.apidoc_excluded_paths
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def sphinx_test_tempdir():
def rootdir():
if sphinx.version_info >= (7, 2, 0):
from pathlib import Path

return Path(os.path.dirname(__file__) or '.').resolve() / 'roots'
else:
from sphinx.testing.path import path
Expand Down

0 comments on commit acd60b0

Please sign in to comment.