Skip to content

Commit

Permalink
Make pylint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Tsimfer authored and Sergey Tsimfer committed May 20, 2024
1 parent f62c1c1 commit 9eaa536
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions nbtools/nbstat/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions nbtools/nbstat/resource_inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)]


Expand Down

0 comments on commit 9eaa536

Please sign in to comment.