From d501bde53914efe0f2b1b3c06220f3ce61272752 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 Jan 2025 00:35:08 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_docs.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_docs.py b/tests/test_docs.py index e1f8601c..5c9d8b7b 100644 --- a/tests/test_docs.py +++ b/tests/test_docs.py @@ -45,14 +45,14 @@ def test_examples_are_valid(location, config): def test_all_filters_documented(): filter_docs = (DOCS_DIR / "filters.md").read_text(encoding="utf-8") for name in FILTERS.keys(): - assert ( - "## {}".format(name) in filter_docs - ), f"The {name} filter is not documented!" + assert "## {}".format(name) in filter_docs, ( + f"The {name} filter is not documented!" + ) def test_all_actions_documented(): action_docs = (DOCS_DIR / "actions.md").read_text(encoding="utf-8") for name in ACTIONS.keys(): - assert ( - "## {}".format(name) in action_docs - ), f"The {name} action is not documented!" + assert "## {}".format(name) in action_docs, ( + f"The {name} action is not documented!" + )