Applied latest Black

This commit is contained in:
Simon Willison 2024-06-21 16:28:25 -07:00
commit 10dae61213
12 changed files with 58 additions and 37 deletions

View file

@ -279,9 +279,11 @@ def test_paginate_compound_keys_with_extra_filters(app_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",