Skip to content

Commit

Permalink
Fix Pylint configuration
Browse files Browse the repository at this point in the history
This is caused by an upgrade of Pylint. The error was:
```
 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 60e2e3d commit 925cbf0
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 925cbf0

Please sign in to comment.