From b4402b450f4371fbe4ec45a4cb9aac51d62f91b7 Mon Sep 17 00:00:00 2001 From: Hanwen Date: Mon, 23 Dec 2024 06:53:54 -0800 Subject: [PATCH] Fix Pylint configuration warning There is a warning in pylint: ``` pylint: Command line or configuration file:1: UserWarning: 'Exception' is not a proper value for the 'overgeneral-exceptions' option. Use fully qualified name (maybe 'builtins.Exception' ?) instead. This will cease to be checked at runtime when the configuration upgrader is released. ``` Signed-off-by: Hanwen --- awsbatch-cli/.pylintrc | 2 +- cli/.pylintrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awsbatch-cli/.pylintrc b/awsbatch-cli/.pylintrc index f0da106020..2716a4ac13 100644 --- a/awsbatch-cli/.pylintrc +++ b/awsbatch-cli/.pylintrc @@ -582,4 +582,4 @@ min-public-methods=2 # Exceptions that will emit a warning when being caught. Defaults to # "Exception". -overgeneral-exceptions=Exception +overgeneral-exceptions=builtins.Exception diff --git a/cli/.pylintrc b/cli/.pylintrc index 5c2ba74c1c..d36b407fd0 100644 --- a/cli/.pylintrc +++ b/cli/.pylintrc @@ -506,4 +506,4 @@ min-public-methods=2 # Exceptions that will emit a warning when being caught. Defaults to # "Exception". -overgeneral-exceptions=Exception +overgeneral-exceptions=builtins.Exception