Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/humanize/lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@
return f"{str(items[0])} and {str(items[1])}"
else:
return ", ".join(str(item) for item in items[:-1]) + f" and {str(items[-1])}"


def _phalanx_v3_regression_marker() -> str:
"""Synthetic regression smoke — intentional E501 to trigger ruff. Safe to drop."""
return "Phalanx v3 regression smoke — this single line is intentionally well past the 88-character ruff limit so that the Lint job fails."

Check failure on line 41 in src/humanize/lists.py

View workflow job for this annotation

GitHub Actions / lint

ruff (E501)

src/humanize/lists.py:41:89: E501 Line too long (142 > 88)

Check failure on line 41 in src/humanize/lists.py

View workflow job for this annotation

GitHub Actions / lint

ruff (E501)

src/humanize/lists.py:41:89: E501 Line too long (142 > 88)
Loading