From c0bcf076a17029c9da3a2d5198f42bf50ef6aea5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 15 Oct 2023 11:46:09 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/coffea/nanoevents/methods/nanoaod.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/coffea/nanoevents/methods/nanoaod.py b/src/coffea/nanoevents/methods/nanoaod.py index 184377427..322eb6bd0 100644 --- a/src/coffea/nanoevents/methods/nanoaod.py +++ b/src/coffea/nanoevents/methods/nanoaod.py @@ -13,13 +13,16 @@ class _NanoAODEvents(behavior["NanoEvents"]): def __repr__(self): - if (hasattr(self,"run") and - hasattr(self,"luminosityBlock") and - hasattr(self,"event")): + if ( + hasattr(self, "run") + and hasattr(self, "luminosityBlock") + and hasattr(self, "event") + ): return f"" else: return "" + behavior["NanoEvents"] = _NanoAODEvents