[pylint] Disable the only 'misplaced-bare-raise'
This commit is contained in:
parent
c45afde35d
commit
0d33cdf02a
|
@ -211,10 +211,9 @@ disable = [
|
|||
"keyword-arg-before-vararg",
|
||||
"line-too-long",
|
||||
"method-hidden",
|
||||
"misplaced-bare-raise",
|
||||
"missing-docstring",
|
||||
"missing-timeout",
|
||||
"multiple-statements",
|
||||
"multiple-statements", # multiple-statements-on-one-line-colon (E701) from ruff
|
||||
"no-else-break",
|
||||
"no-else-continue",
|
||||
"no-else-raise",
|
||||
|
|
|
@ -401,7 +401,7 @@ class LogCaptureHandler(logging_StreamHandler):
|
|||
# The default behavior of logging is to print "Logging error"
|
||||
# to stderr with the call stack and some extra details.
|
||||
# pytest wants to make such mistakes visible during testing.
|
||||
raise
|
||||
raise # pylint: disable=misplaced-bare-raise
|
||||
|
||||
|
||||
@final
|
||||
|
|
Loading…
Reference in New Issue