mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Upgrade to Black 20.8b1, closes #958
This commit is contained in:
parent
26b2922f17
commit
a648bb82ba
22 changed files with 203 additions and 58 deletions
|
|
@ -16,7 +16,8 @@ def custom_pages_client(tmp_path_factory):
|
|||
"utf-8",
|
||||
)
|
||||
(pages_dir / "atom.html").write_text(
|
||||
'{{ custom_header("content-type", "application/xml") }}<?xml ...>', "utf-8",
|
||||
'{{ custom_header("content-type", "application/xml") }}<?xml ...>',
|
||||
"utf-8",
|
||||
)
|
||||
(pages_dir / "redirect.html").write_text(
|
||||
'{{ custom_redirect("/example") }}', "utf-8"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue