Skip to content

Commit

Permalink
Fixed lylint issue as unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Praveen K Pandey <praveen@linux.vnet.ibm.com>
  • Loading branch information
PraveenPenguin committed Apr 5, 2024
1 parent 5d636d0 commit 50c996f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
pylint -d C0301,C0325,C0114,C0103,C0209,W0718,W1202,R0912 $(git ls-files '*.py')
4 changes: 2 additions & 2 deletions OpTestConfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def parse_config_file(self, filename, optional=False):
config.read(filename)

if config.has_section('op-test'):
d = dict(config.items('op-test'))
dict(config.items('op-test'))
else:
msg = "{} is missing an an [op-test] section header".format(
filename)
Expand Down Expand Up @@ -671,7 +671,7 @@ def do_testing_setup(self):
# log for triage of how dated the repo is
OpTestLogger.optest_logger_glob.optest_logger.debug(
"op-test-framework git level = {}".format(git_output))
except Exception as e:
except Exception:
OpTestLogger.optest_logger_glob.optest_logger.debug(
"Unable to get git describe")

Expand Down

0 comments on commit 50c996f

Please sign in to comment.