Skip to content

Commit 36c55a7

Browse files
committed
Revert "Correct formatting issues"
This reverts commit b59acf8.
1 parent 2b12df2 commit 36c55a7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
"""Generate the code reference pages and navigation."""
22

3-
import os
43
from pathlib import Path
5-
4+
import os
65
import mkdocs_gen_files
76

87
src = Path("rucio/lib/rucio/client/")
98
root = src.parent
109
doc_path = "/auto_generated/client_api"
1110
files = os.listdir(doc_path)
12-
for file in files:
11+
for file in files:
1312
os.remove(f"{doc_path}/{file}")
1413

1514

1615
py_files = [f for f in list(src.rglob("*.py")) if "__init__.py" not in f.name]
1716

1817
for path in py_files:
19-
module_name = path.name.split(".py")[0]
18+
module_name = path.name.split('.py')[0]
2019
full_doc_path = Path(f"{doc_path}/{module_name}.md")
2120

2221
with mkdocs_gen_files.open(full_doc_path, "a") as fd:
2322
module_path = path.relative_to(src).with_suffix("")
2423
fd.write(f"::: rucio.client.{module_path}")
25-
fd.write("\n\n")
24+
fd.write("\n\n")

0 commit comments

Comments
 (0)