Skip to content

Commit 615b71c

Browse files
committed
Format
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
1 parent 2c83f93 commit 615b71c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/cfengine_cli/docs.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222

2323
IGNORED_DIRS = [".git"]
2424

25+
2526
def count_indent(string: str) -> int:
2627
stripped = string.lstrip(" ")
2728
return len(string) - len(stripped)
2829

30+
2931
def extract_inline_code(path, languages):
3032
"""extract inline code, language and filters from markdown"""
3133

@@ -65,7 +67,9 @@ def extract_inline_code(path, languages):
6567
"first_line": child.map[0],
6668
"last_line": child.map[1],
6769
"indent": indent,
68-
"lines": lines[first_line:last_line] # Includes backtick fences on both sides
70+
"lines": lines[
71+
first_line:last_line
72+
], # Includes backtick fences on both sides
6973
}
7074

7175

0 commit comments

Comments
 (0)