Skip to content

Commit

Permalink
Allow broad exceptions in pylint
Browse files Browse the repository at this point in the history
Fixes #2470
  • Loading branch information
ocelotl committed May 8, 2024
1 parent bc804a3 commit 650e312
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ disable=missing-docstring,
missing-module-docstring, # temp-pylint-upgrade
import-error, # needed as a workaround as reported here: https://github.com/open-telemetry/opentelemetry-python-contrib/issues/290
cyclic-import,
not-context-manager
not-context-manager,
broad-exception-raised,

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down Expand Up @@ -486,10 +487,3 @@ max-statements=50

# Minimum number of public methods for a class (see R0903).
min-public-methods=2


[EXCEPTIONS]

# Exceptions that will emit a warning when being caught. Defaults to
# "Exception".
overgeneral-exceptions=Exception

0 comments on commit 650e312

Please sign in to comment.