black formatting

This commit is contained in:
JanLJL
2021-10-04 14:33:28 +02:00
parent 217fcff664
commit 314feb4104
4 changed files with 176 additions and 64 deletions

View File

@@ -133,7 +133,11 @@ def find_marked_section(
index_end = -1
for i, line in enumerate(lines):
try:
if line.instruction is None and comments is not None and line.comment is not None:
if (
line.instruction is None
and comments is not None
and line.comment is not None
):
if comments["start"] == line.comment:
index_start = i + 1
elif comments["end"] == line.comment: