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 <[email protected]>
  • Loading branch information
hanwen-cluster committed Dec 23, 2024
1 parent 60e2e3d commit 28be4ca
Show file tree
Hide file tree
Showing 3 changed files with 3 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
1 change: 1 addition & 0 deletions cli/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ basepython = python3
deps =
setuptools
pyflakes
astroid==3.3.6
pylint
commands =
pylint \
Expand Down

0 comments on commit 28be4ca

Please sign in to comment.