Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Sep 16, 2024
1 parent bbe8c70 commit eddb91c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bikeshed/mdn/mdnspeclinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def panelsFromData(doc: t.SpecT, data: MdnDataT) -> list[t.ElementT]:

if missingIds:
msg = "Skipped generating some MDN panels, because the following IDs weren't present in the document. Use `Ignore MDN Failures` if this is expected.\n"
msg += "\n".join(" #"+missingId for missingId in missingIds)
msg += "\n".join(" #" + missingId for missingId in missingIds)
m.warn(msg)

return panels
Expand Down
2 changes: 1 addition & 1 deletion bikeshed/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ def parseDieWhen(key: str, val: str, lineNum: str | int | None) -> str:
return "late"


def parseIgnoreMdnFailure(key: str, val: str, lineNum: str | int | None) -> str:
def parseIgnoreMdnFailure(key: str, val: str, lineNum: str | int | None) -> list[str]:
vals = [x.strip() for x in val.split(",")]
vals = [x[1:] if x.startswith("#") else x for x in vals]
return vals
Expand Down

0 comments on commit eddb91c

Please sign in to comment.