Skip to content

Commit 96a0bb9

Browse files
committed
Improve mkdocstrings API generator
These are all fixes pointed out by the linting and formatting tools. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 285ddd0 commit 96a0bb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/mkdocstrings_autoapi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131

3232
nav[parts] = doc_path.as_posix()
3333

34-
with mkdocs_gen_files.open(full_doc_path, "w") as fd:
35-
fd.write(f"::: {'.'.join(parts)}\n")
34+
with mkdocs_gen_files.open(full_doc_path, "w") as output_file:
35+
output_file.write(f"::: {'.'.join(parts)}\n")
3636

3737
mkdocs_gen_files.set_edit_path(full_doc_path, Path("..") / path)
3838

0 commit comments

Comments
 (0)