Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Jan 29, 2025
1 parent 6131df5 commit 7f6fc14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bikeshed/datablocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,11 +525,11 @@ def transformArgumentdef(
if lineNum is not None:
lineNumAttr = f" bs-line-number={lineNum}"
attrs = parseDefBlock(lines, "argumentdef", doc=doc, capitalizeKeys=False, lineNum=lineNum)
for param,desc in list(attrs.items()):
for param, desc in list(attrs.items()):
# fix var params, since they're not caught by the parser
if param.startswith("|") and param.endswith("|"):
del attrs[param]
attrs["<var>"+param[1:-1]+"</var>"] = desc
attrs["<var>" + param[1:-1] + "</var>"] = desc
el = h.parseHTML(firstLine + "</pre>")[0]
if h.hasAttr(el, "for"):
forValue = t.cast(str, el.get("for"))
Expand Down

0 comments on commit 7f6fc14

Please sign in to comment.