From b655fccd33d3f895cb2fff944652f25ce47d88a2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 10 Sep 2024 13:57:11 +0000 Subject: [PATCH] style: pre-commit fixes --- src/uproot/models/RNTuple.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/uproot/models/RNTuple.py b/src/uproot/models/RNTuple.py index 2cf492c5c..b512efb0d 100644 --- a/src/uproot/models/RNTuple.py +++ b/src/uproot/models/RNTuple.py @@ -502,7 +502,9 @@ def read_col_pages(self, ncol, cluster_range, dtype_byte, pad_missing_ele=False) or dtype_byte == uproot.const.rntuple_col_type_to_num_dict["splitindex32"] ): # Extract the last offset values: - last_elements = [arr[-1] for arr in arrays[:-1]] # First value always zero, therefore skip first arr. + last_elements = [ + arr[-1] for arr in arrays[:-1] + ] # First value always zero, therefore skip first arr. # Compute cumulative sum using itertools.accumulate: last_offsets = [*list(accumulate(last_elements))] # Add the offsets to each array