[pre-commit.ci lite] apply automatic fixes

This commit is contained in:
pre-commit-ci-lite[bot] 2026-03-29 13:16:50 +00:00 committed by GitHub
parent 1d46308483
commit 76cd774b68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1089,7 +1089,11 @@ def sync_do_slice(
end = offset + (slice_number + 1) * items_per_slice
tmp = seq[start:end]
if fill_with is not None and slice_number >= slices_with_extra and slices_with_extra != 0:
if (
fill_with is not None
and slice_number >= slices_with_extra
and slices_with_extra != 0
):
tmp.append(fill_with)
yield tmp