Skip to content

Commit

Permalink
Fix Pylint configuration warning
Browse files Browse the repository at this point in the history
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 <hanwenli@amazon.com>
  • Loading branch information
hanwen-cluster committed Dec 23, 2024
1 parent a684dae commit b4402b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion awsbatch-cli/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion cli/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b4402b4

Please sign in to comment.