Skip to content

Commit 155884d

Browse files
Update build_directory_md.py
1 parent 7c73002 commit 155884d

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

scripts/build_directory_md.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,16 @@ def good_file_paths(top_dir: str = ".") -> Iterator[str]:
1818
yield os.path.join(dir_path, filename).lstrip("./")
1919

2020

21-
def md_prefix(i):
21+
def md_prefix(indent: int) -> str:
2222
"""
23-
Markdown prefix based on level for bullet points
23+
Markdown prefix based on indent for bullet points
2424
2525
>>> md_prefix(0)
2626
'\\n##'
27-
2827
>>> md_prefix(1)
2928
' *'
30-
3129
>>> md_prefix(2)
3230
' *'
33-
3431
>>> md_prefix(3)
3532
' *'
3633
"""

0 commit comments

Comments
 (0)