Skip to content

Commit a91217e

Browse files
committed
Feat: silence import error
1 parent 626ae19 commit a91217e

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

PWGCF/Femto/Macros/cutculator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
@brief CutCulator (Compute bitmask for selecting particles in the Femto Framework)
1616
@author Anton Riedel <anton.riedel@cern.ch>, Technical University of Munich
1717
"""
18-
19-
import ROOT
18+
import ROOT # pylint: disable=import-error
2019
import argparse
2120

2221
VALUE_DELIM = "___"

PWGCF/Femto/Macros/cutculator_gui.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from typing import Any, Dict, List
2323

2424
try:
25-
import ROOT
25+
import ROOT # pylint: disable=import-error
2626

2727
ROOT.gROOT.SetBatch(True)
2828
except ImportError:
@@ -639,9 +639,7 @@ def _build_bin_row(self, parent, sel_name, idx, b, kind):
639639
# the alignment: both row types share one widget recipe for their
640640
# leading column instead of trying to match a native Checkbutton's
641641
# unmeasurable indicator box.
642-
check_lbl = tk.Label(
643-
row, text="[ ]", font=FONT_BODY, bg=BG_CARD, fg=FG_DIM, width=CHECK_COL_WIDTH, anchor="w"
644-
)
642+
check_lbl = tk.Label(row, text="[ ]", font=FONT_BODY, bg=BG_CARD, fg=FG_DIM, width=CHECK_COL_WIDTH, anchor="w")
645643
check_lbl.pack(side="left")
646644
self._check_labels[(sel_name, idx)] = check_lbl
647645

0 commit comments

Comments
 (0)