Skip to content

Commit 6c5553b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 381f5dc commit 6c5553b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/uproot_browser/tree.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ def is_dir(item: Any) -> bool: # noqa: ARG001
5151
def _(item: uproot.reading.ReadOnlyDirectory) -> Literal[True]: # noqa: ARG001
5252
return True
5353

54+
5455
@is_dir.register
5556
def _(item: uproot.behaviors.TBranch.HasBranches) -> bool:
5657
return len(item.branches) > 0
5758

59+
5860
@is_dir.register
5961
def _(item: uproot.behaviors.RNTuple.HasFields) -> bool:
6062
return len(item.keys()) > 0
@@ -156,7 +158,9 @@ def _process_item_tfile(
156158

157159

158160
@process_item.register
159-
def _process_item_ttree(uproot_object: uproot.TTree | uproot.behaviors.RNTuple.RNTuple) -> MetaDict:
161+
def _process_item_ttree(
162+
uproot_object: uproot.TTree | uproot.behaviors.RNTuple.RNTuple,
163+
) -> MetaDict:
160164
"""
161165
Given an tree, return a rich.tree.Tree output.
162166
"""

0 commit comments

Comments
 (0)