diff --git a/nbtools/nbstat/cli.py b/nbtools/nbstat/cli.py index 21210d7..a77465f 100755 --- a/nbtools/nbstat/cli.py +++ b/nbtools/nbstat/cli.py @@ -62,6 +62,7 @@ def output_once(inspector, name, formatter, view_args): def output_looped(inspector, name, formatter, view_args, other_name, other_formatter, other_view_args, interval=0.5): """ Output visualization to a stdout once each `interval` seconds in a fullscreen mode. """ + #pylint: disable=too-many-statements terminal = Terminal() initial_view_args = dict(view_args) diff --git a/nbtools/nbstat/resource_inspector.py b/nbtools/nbstat/resource_inspector.py index 854c21f..9c71e01 100755 --- a/nbtools/nbstat/resource_inspector.py +++ b/nbtools/nbstat/resource_inspector.py @@ -730,8 +730,8 @@ def add_help(self, lines, terminal, name, underline=True, bold=True): (8, 'TEMP', terminal.on_red), ] - for f, name, color in resource_and_color: - parts.append(f'{terminal.bold}{color}F{f}: {name}{terminal.normal}') + for f, name_, color in resource_and_color: + parts.append(f'{terminal.bold}{color}F{f}: {name_}{terminal.normal}') parts = [' '.join(parts)]