[pre-commit.ci lite] apply automatic fixes

This commit is contained in:
pre-commit-ci-lite[bot] 2026-05-09 10:11:09 +00:00 committed by GitHub
parent 60b6766c60
commit 053f2c093d
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 slices_with_extra and slice_number >= slices_with_extra:
if (
fill_with is not None
and slices_with_extra
and slice_number >= slices_with_extra
):
tmp.append(fill_with)
yield tmp