Upgrade to latest Black, closes #2239

This commit is contained in:
Simon Willison 2024-01-30 19:55:26 -08:00
commit 5c64af6936
16 changed files with 93 additions and 66 deletions

View file

@ -305,9 +305,11 @@ async def test_paginate_compound_keys_with_extra_filters(ds_client):
"_sort_desc=sortable_with_nulls",
lambda row: (
1 if row["sortable_with_nulls"] is None else 0,
-row["sortable_with_nulls"]
if row["sortable_with_nulls"] is not None
else 0,
(
-row["sortable_with_nulls"]
if row["sortable_with_nulls"] is not None
else 0
),
row["content"],
),
"sorted by sortable_with_nulls descending",