Skip to content

Commit 0f67ab4

Browse files
committed
pyright fixes
Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
1 parent 204aace commit 0f67ab4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/cfengine_cli/deptool.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -420,20 +420,22 @@ def updated_deps_markdown_table(self, refs):
420420
dep = dep_title.lower()
421421
url = match.group(2)
422422
else:
423-
log.warning("didn't find dep in line [%s]", line)
423+
log.warning("didn't find dep in line [%s]" % (line,))
424424
continue
425425
if dep not in deps_dict:
426426
log.warning(
427-
"unknown dependency in README: [%s] line [%s], will be EMPTY",
428-
dep,
429-
line,
427+
"unknown dependency in README: [%s] line [%s], will be EMPTY"
428+
% (
429+
dep,
430+
line,
431+
)
430432
)
431433
deps_dict[dep] = collections.defaultdict(lambda: "-")
432434
note = None
433435
if has_notes:
434436
note = re.search(r"\| ([^|]*) \|$", line)
435437
if not note:
436-
log.warning("didn't find note in line [%s]", line)
438+
log.warning("didn't find note in line [%s]" % (line,))
437439
note = ""
438440
else:
439441
note = note.group(1)

0 commit comments

Comments
 (0)