Skip to content

Commit

Permalink
Fix pylint warning (#1763)
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 committed Jun 20, 2024
1 parent d0b361a commit 95de1aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -549,5 +549,5 @@ min-public-methods=2

# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
Exception
overgeneral-exceptions=builtins.BaseException,
builtins.Exception
2 changes: 1 addition & 1 deletion qiskit_ibm_runtime/fake_provider/fake_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def refresh(self, service: QiskitRuntimeService) -> None:
else:
logger.info("There are no available new updates for %s.", self.backend_name)

except Exception as ex:
except Exception as ex: # pylint: disable=broad-except
logger.info("The refreshing of %s has failed: %s", self.backend_name, str(ex))


Expand Down

0 comments on commit 95de1aa

Please sign in to comment.