Skip to content

Commit f227457

Browse files
committed
Fix RUF059 violations
1 parent 1583014 commit f227457

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configshell/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ def list_group_params(self, group, writable=None):
16831683
else:
16841684
params = []
16851685
for p_name, p_def in self._configuration_groups[group].items():
1686-
(p_type, p_description, p_writable) = p_def
1686+
(_p_type, _p_description, p_writable) = p_def
16871687
if writable is not None and p_writable != writable:
16881688
continue
16891689
params.append(p_name)

configshell/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ def _complete_token_kparam(self, text, path, command, pparams, kparams):
557557
cmd_params = target.get_command_signature(command)[0]
558558
self.log.debug(f"Command {command} accepts parameters {cmd_params}.")
559559

560-
(keyword, sep, current_value) = text.partition('=')
560+
(keyword, _sep, current_value) = text.partition('=')
561561
self.log.debug(f"Completing '{current_value}' for kparam {keyword}")
562562

563563
self._current_parameter = keyword

0 commit comments

Comments
 (0)