Skip to content

Commit 4fd2c6b

Browse files
committed
ruff format 2
1 parent 966cbe0 commit 4fd2c6b

File tree

1 file changed

+3
-1
lines changed
  • bindings/pyroot/pythonizations/python/ROOT/_pythonization/_uhi

1 file changed

+3
-1
lines changed

bindings/pyroot/pythonizations/python/ROOT/_pythonization/_uhi/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def _add_plotting_features(klass: Any) -> None:
7070
Implementation of the serialization component of the UHI
7171
"""
7272

73+
7374
def _TH1_Constructor(self, *args, **kwargs):
7475
"""
7576
If UHI IR is detected, use the UHI deserialization constructor
@@ -82,10 +83,11 @@ def _TH1_Constructor(self, *args, **kwargs):
8283
else:
8384
self._original_init_(*args, **kwargs)
8485

86+
8587
def _add_serialization_features(klass: Any) -> None:
8688
from .serialization import _to_uhi_
8789

8890
klass._to_uhi_ = _to_uhi_
8991

9092
klass._original_init_ = klass.__init__
91-
klass.__init__ = _TH1_Constructor
93+
klass.__init__ = _TH1_Constructor

0 commit comments

Comments
 (0)