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