From 2da4144c57a54db420d3e787004390b4f9f7cff3 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 16 Aug 2020 10:35:14 -0700 Subject: [PATCH] Applied Black --- tests/test_docs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_docs.py b/tests/test_docs.py index a784eb8c..7f4cbff6 100644 --- a/tests/test_docs.py +++ b/tests/test_docs.py @@ -68,7 +68,9 @@ def test_plugin_hooks_are_documented(plugin, plugin_hooks_content): arg_names = [a for a in hook_caller.spec.argnames if a != "__multicall__"] # Check for plugin_name(arg1, arg2, arg3) expected = "{}({})".format(plugin, ", ".join(arg_names)) - assert expected in plugin_hooks_content, "Missing from plugin hook documentation: {}".format(expected) + assert ( + expected in plugin_hooks_content + ), "Missing from plugin hook documentation: {}".format(expected) @pytest.fixture(scope="session")