Fix failing zuul job caused by new pylint version

A new error check was added to pylint, so it is being
temporarily suppressed.

The Exception checker in the pylint.rc was also reporting
failures, so it has been modernized.

Story: 2010531
Task: 47309
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Ia7f03f427cf8260625319af49b784983674f5227
This commit is contained in:
Al Bailey 2023-02-07 17:55:28 +00:00
parent 0c66195059
commit 5ba1d34d0f

View File

@ -86,6 +86,7 @@ extension-pkg-whitelist=lxml
# W0603 global-statement # W0603 global-statement
# W0703 broad-except # W0703 broad-except
# W0707 raise-missing-from # W0707 raise-missing-from
# W0719 broad-exception-raised
# W1505 deprecated-method # W1505 deprecated-method
# W1514 unspecified-encoding # W1514 unspecified-encoding
# W3101 missing-timeout # W3101 missing-timeout
@ -94,7 +95,7 @@ disable= C0103,C0114,C0115,C0116,C0201,C0206,C0209,C2801,
R0205,R0402,R0801,R0902,R0903,R0904,R0911, R0205,R0402,R0801,R0902,R0903,R0904,R0911,
R0912,R0913,R0914,R0915,R1702,R1705,R1714, R0912,R0913,R0914,R0915,R1702,R1705,R1714,
R1715,R1722,R1724,R1725,R1732,R1735, R1715,R1722,R1724,R1725,R1732,R1735,
W0107,W0602,W0603,W0703,W0707,W1514,W3101 W0107,W0602,W0603,W0703,W0707,W0719,W1514,W3101
[REPORTS] [REPORTS]
@ -379,7 +380,7 @@ int-import-graph=
[EXCEPTIONS] [EXCEPTIONS]
# Exceptions that will emit a warning when caught.
overgeneral-exceptions=builtins.BaseException,builtins.Exception
# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception