From b78cb3ba0be4dd6490bf25c5066c384189cc9f80 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 26 Jul 2026 12:41:52 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/tests/test_research_runs_hardening.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/studio/backend/tests/test_research_runs_hardening.py b/studio/backend/tests/test_research_runs_hardening.py index 40316f683b..a4ebe839f5 100644 --- a/studio/backend/tests/test_research_runs_hardening.py +++ b/studio/backend/tests/test_research_runs_hardening.py @@ -143,7 +143,10 @@ def test_citation_title_strips_brackets_for_catalog_and_citation(): # the model to copy the catalog title verbatim into the link label, where a bracket makes the # citation unmatchable. The catalog and the citation writer share this helper so they cannot # offer a label the validator then fails to match. - assert _citation_title({"title": "[PDF] Annual Report 2024"}, "https://x/a") == "PDF Annual Report 2024" + assert ( + _citation_title({"title": "[PDF] Annual Report 2024"}, "https://x/a") + == "PDF Annual Report 2024" + ) assert _citation_title({"title": "[]"}, "https://x/a") == "https://x/a" assert _citation_title({}, "https://x/a") == "https://x/a"