File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,6 @@ def extract_qmd_python_chunks_with_context(qmd_path: str) -> List[Dict[str, Any]
110110 cur = []
111111 start_line = i
112112 fence_kind = "~~~" if line .strip ().startswith ("~~~" ) else "```"
113- i += 1
114113 continue
115114
116115 if in_py :
@@ -130,27 +129,21 @@ def extract_qmd_python_chunks_with_context(qmd_path: str) -> List[Dict[str, Any]
130129 "start_line" : start_line + 1 , # 1-based
131130 }
132131 )
133- i += 1
134132 continue
135133 else :
136134 cur .append (raw )
137- i += 1
138135 continue
139136
140137 m1 = _H1 .match (line )
141138 if m1 :
142139 current_main = _clean_heading_text (m1 .group (1 ))
143140 current_sub = None
144- i += 1
145141 continue
146142 m2 = _H2 .match (line )
147143 if m2 :
148144 current_sub = _clean_heading_text (m2 .group (1 ))
149- i += 1
150145 continue
151146
152- i += 1
153-
154147 return chunks
155148
156149
You can’t perform that action at this time.
0 commit comments