From 17079060e58b5911e065775e1b2259c989627fb8 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Sat, 19 Oct 2024 13:20:59 +0100 Subject: [PATCH] Fix black warning (alerts in 22.3.0 used by GHA, not in 24.10.0) --- queryset_sequence/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/queryset_sequence/__init__.py b/queryset_sequence/__init__.py index 64dd269..6418c26 100644 --- a/queryset_sequence/__init__.py +++ b/queryset_sequence/__init__.py @@ -850,7 +850,9 @@ def values_list(self, *fields, flat=False, named=False): clone._iterable_class = ( NamedValuesListIterable if named - else FlatValuesListIterable if flat else ValuesListIterable + else FlatValuesListIterable + if flat + else ValuesListIterable ) return clone