Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Oct 3, 2024
1 parent 944ec4f commit fb4f971
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bikeshed/refs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ def filterOldVersions(refs: list[t.RefWrapper], status: str | None = None) -> li
return refs


def linkTextVariations(str: str, linkType: str | None, linkFor: str | None = None) -> t.Generator[str, None, None]:
def linkTextVariations(
str: str, linkType: str | None, linkFor: str | list[str] | None = None
) -> t.Generator[str, None, None]:
# Generate intelligent variations of the provided link text,
# so explicitly adding an lt attr isn't usually necessary.
str = str.strip()
Expand Down

0 comments on commit fb4f971

Please sign in to comment.