From 71b8edeef163da1bdfdbaa0072c8b3d1782c8d7c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 15:47:22 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pytest_jupyter/jupyter_server.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pytest_jupyter/jupyter_server.py b/pytest_jupyter/jupyter_server.py index 339b0c2..60d6295 100644 --- a/pytest_jupyter/jupyter_server.py +++ b/pytest_jupyter/jupyter_server.py @@ -274,7 +274,7 @@ async def my_test(jp_fetch): .. code-block:: python async def my_test(jp_fetch): - response = await jp_fetch("api", "spec.yaml", params={'parameter': 'value'}) + response = await jp_fetch("api", "spec.yaml", params={"parameter": "value"}) ... A POST request with data: @@ -282,7 +282,9 @@ async def my_test(jp_fetch): .. code-block:: python async def my_test(jp_fetch): - response = await jp_fetch("api", "spec.yaml", body=json.dumps({'parameter': 'value'}), method='POST') + response = await jp_fetch( + "api", "spec.yaml", body=json.dumps({"parameter": "value"}), method="POST" + ) ... """