style: format file with black==23.7.0

This commit is contained in:
jo 2023-07-25 19:04:32 +02:00
commit abadf6c9fb
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984
45 changed files with 18 additions and 66 deletions

View file

@ -57,7 +57,7 @@ class SmartSearchFilter(django_filters.CharFilter):
return qs
try:
cleaned = self.config.clean(value)
except (forms.ValidationError):
except forms.ValidationError:
return qs.none()
return search.apply(qs, cleaned)