diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pylintrc | 3 | ||||
-rw-r--r-- | examples/pyproject.toml | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/examples/pylintrc b/examples/pylintrc index 8a1661072..5146b9941 100644 --- a/examples/pylintrc +++ b/examples/pylintrc @@ -277,8 +277,7 @@ signature-mutators= [EXCEPTIONS] -# Exceptions that will emit a warning when being caught. Defaults to -# "BaseException, Exception". +# Exceptions that will emit a warning when caught. overgeneral-exceptions=BaseException, Exception diff --git a/examples/pyproject.toml b/examples/pyproject.toml index 690f0c0a6..138907a68 100644 --- a/examples/pyproject.toml +++ b/examples/pyproject.toml @@ -259,8 +259,7 @@ max-statements = 50 min-public-methods = 2 [tool.pylint.exceptions] -# Exceptions that will emit a warning when being caught. Defaults to -# "BaseException, Exception". +# Exceptions that will emit a warning when caught. overgeneral-exceptions = ["BaseException", "Exception"] [tool.pylint.format] |