Skip to content

Commit 5cac74c

Browse files
committed
Apply blacken-docs
1 parent 868d34d commit 5cac74c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/internals.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ To set cookies on the response, use the ``response.set_cookie(...)`` method. The
210210
secure=False,
211211
httponly=False,
212212
samesite="lax",
213-
):
214-
...
213+
): ...
215214
216215
You can use this with :ref:`datasette.sign() <datasette_sign>` to set signed cookies. Here's how you would set the :ref:`ds_actor cookie <authentication_ds_actor>` for use with Datasette :ref:`authentication <authentication>`:
217216

docs/plugin_hooks.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,7 @@ Let's say you want to build a plugin that adds a ``datasette publish my_hosting_
373373
about,
374374
about_url,
375375
api_key,
376-
):
377-
...
376+
): ...
378377
379378
Examples: `datasette-publish-fly <https://datasette.io/plugins/datasette-publish-fly>`_, `datasette-publish-vercel <https://datasette.io/plugins/datasette-publish-vercel>`_
380379

0 commit comments

Comments
 (0)