From 7d6eee9ed1df6106fa895231921b334079be81f6 Mon Sep 17 00:00:00 2001 From: record-bot Date: Tue, 28 Apr 2026 10:57:29 -0700 Subject: [PATCH 1/2] v3-rerun lint smoke: intro E501 in lists.py --- src/humanize/lists.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/humanize/lists.py b/src/humanize/lists.py index 3a52f1e..01cce57 100644 --- a/src/humanize/lists.py +++ b/src/humanize/lists.py @@ -34,3 +34,8 @@ def natural_list(items: list[Any]) -> str: 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." From 3fa0057740cf75785458c78450857c138ad0fb4a Mon Sep 17 00:00:00 2001 From: Phalanx Date: Tue, 28 Apr 2026 17:59:47 +0000 Subject: [PATCH 2/2] fix(ci): CI failed because this PR added a synthetic helper in `src/humanize/list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the `_phalanx_v3_regression_marker()` function that was added by this PR, as it is a synthetic regression marker and not part of the library's functionality; alternatively, if it must remain, rewrite its docstring and returned string so no line exceeds 88 characters, but deletion is the minimal correct fix. CI Fixer v3 • failing job: lint --- src/humanize/lists.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/humanize/lists.py b/src/humanize/lists.py index 01cce57..a4916d2 100644 --- a/src/humanize/lists.py +++ b/src/humanize/lists.py @@ -35,7 +35,3 @@ def natural_list(items: list[Any]) -> str: 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."