Skip to content

Commit af8526a

Browse files
committed
run format
Signed-off-by: zhen0427 <Zhen.Wang@alliander.com>
1 parent 004e5ed commit af8526a

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

scripts/build-docs.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@
99
BASE_DIR = Path("docs/user_manual")
1010
OUTPUT_FILE = BASE_DIR / "components.md"
1111

12+
1213
def extract_index(path: Path):
1314
match = re.match(r"(\d+)", path.name)
1415
return int(match.group(1)) if match else 9999
1516

16-
files = sorted(
17-
BASE_DIR.glob("*components*.md"),
18-
key=extract_index
19-
)
17+
18+
files = sorted(BASE_DIR.glob("*components*.md"), key=extract_index)
2019

2120
if not files:
2221
print("No component files found.")

0 commit comments

Comments
 (0)