Suppress new pylint 2.16 errors in nfv
pylint 2.16.0 was released on 2023-02-01 One of the new check is causing stx/nfv to fail tox pylint From the 2.16.0 release notes: Rename broad-except to broad-exception-caught and add new checker broad-exception-raised which will warn if general exceptions BaseException or Exception are raised. The fix is to suppress the new error code, and possibly fix it in a future task. Story: 2010531 Task: 47254 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: I3e353809943ffa66660bf39b99ecaf90f5f3fddc
This commit is contained in:
parent
2debfbc72a
commit
c4890e651b
|
@ -88,9 +88,10 @@ disable=
|
||||||
W0613, # unused-argument
|
W0613, # unused-argument
|
||||||
W0621, # redefined-outer-name
|
W0621, # redefined-outer-name
|
||||||
W0622, # redefined-builtin
|
W0622, # redefined-builtin
|
||||||
W0703, # broad-except
|
W0703, # broad-except (renamed in pylint 2.16 to broad-exception-caught)
|
||||||
W0706, # try-except-raise
|
W0706, # try-except-raise
|
||||||
W0707, # raise-missing-from
|
W0707, # raise-missing-from
|
||||||
|
W0719, # broad-exception-raised
|
||||||
W1310, # format-string-without-interpolation
|
W1310, # format-string-without-interpolation
|
||||||
W1401, # anomalous-backslash-in-string
|
W1401, # anomalous-backslash-in-string
|
||||||
W1406, # redundant-u-string-prefix
|
W1406, # redundant-u-string-prefix
|
||||||
|
|
Loading…
Reference in New Issue