File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ messages_control.disable = [
116116 " missing-function-docstring" ,
117117 " missing-module-docstring" ,
118118 " duplicate-code" ,
119- " unused-argument" , # Handed by Ruff
119+ " unused-argument" , # Handled by Ruff
120+ " wrong-import-position" , # Handled by Ruff
120121]
121122
122123[tool .ruff ]
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def browse(filename: str) -> None:
9999 """
100100 Display a TUI.
101101 """
102- import uproot_browser .dirs
102+ import uproot_browser .dirs # pylint: disable=import-outside-toplevel
103103 import uproot_browser .tui .browser # pylint: disable=import-outside-toplevel
104104
105105 fname = uproot_browser .dirs .filename (filename )
Original file line number Diff line number Diff line change 11from __future__ import annotations
22
33if not __package__ :
4- __package__ = "uproot_browser.tui"
4+ __package__ = "uproot_browser.tui" # pylint: disable=redefined-builtin
55
66import contextlib
77import sys
1717
1818with contextlib .suppress (AttributeError ):
1919 light_background = 0xDF , 0xDF , 0xDF # $surface-darken-1
20- plt ._dict .themes ["default" ][0 ] = light_background
21- plt ._dict .themes ["default" ][1 ] = light_background
20+ plt ._dict .themes ["default" ][0 ] = light_background # pylint: disable=protected-access
21+ plt ._dict .themes ["default" ][1 ] = light_background # pylint: disable=protected-access
2222
2323
2424from uproot_browser .exceptions import EmptyTreeError
You can’t perform that action at this time.
0 commit comments