Skip to content

Commit b4402b4

Browse files
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 <[email protected]>
1 parent a684dae commit b4402b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

awsbatch-cli/.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,4 +582,4 @@ min-public-methods=2
582582

583583
# Exceptions that will emit a warning when being caught. Defaults to
584584
# "Exception".
585-
overgeneral-exceptions=Exception
585+
overgeneral-exceptions=builtins.Exception

cli/.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,4 +506,4 @@ min-public-methods=2
506506

507507
# Exceptions that will emit a warning when being caught. Defaults to
508508
# "Exception".
509-
overgeneral-exceptions=Exception
509+
overgeneral-exceptions=builtins.Exception

0 commit comments

Comments
 (0)