From 7072236f2c96e2088c8342a9488998e5d27f48f2 Mon Sep 17 00:00:00 2001 From: Scott Little Date: Tue, 26 Jul 2022 18:54:08 -0400 Subject: [PATCH] Update .gitreview for r/stx.7.0 Also Fix pylint zuul failures This removes some invalid config entries, and suppresses some additional checks. The checks should be un-suppressed and the code updated by someone more familiar with this repo. Signed-off-by: Scott Little Change-Id: Iecf16386e2b2049dd1a678bd2352699e9506456b --- .gitreview | 1 + pylint.rc | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitreview b/.gitreview index 8e4c396..c1392ef 100644 --- a/.gitreview +++ b/.gitreview @@ -2,3 +2,4 @@ host=review.opendev.org port=29418 project=starlingx/test.git +defaultbranch=r/stx.7.0 diff --git a/pylint.rc b/pylint.rc index cab52b7..89cd973 100644 --- a/pylint.rc +++ b/pylint.rc @@ -37,6 +37,7 @@ load-plugins= # W0212 protected-access # W0221 arguments-differ # W0235 useless-super-delegation +# W0237 arguments-renamed # W0401 wildcard-import # W0402 deprecated-module # W0404 reimported @@ -57,6 +58,7 @@ load-plugins= # W1302 bad-format-string # W1308 duplicate-string-formatting-argument # W1401 anomalous-backslash-in-string +# W1512 deprecated-class # # E0102 function-redefined # E0401 import-error @@ -68,12 +70,12 @@ load-plugins= # disable=C,R, W0102,W0105,W0107,W0120,W0123,W0150, - W0201,W0212,W0221,W0235, + W0201,W0212,W0221,W0235,W0237, W0401,W0402,W0404, W0511, W0601,W0603,W0611,W0612,W0613,W0621,W0622,W0632, W0702,W0703,W0706,W0707, - W1113,W1302,W1308,W1401, + W1113,W1302,W1308,W1401,W1512, E0102,E0401,E0611,E0711,E1102,E1120,E1136,E1305 @@ -85,7 +87,7 @@ output-format=text # Put messages in a separate file for each module / package specified on the # command line instead of printing them on stdout. Reports (if any) will be # written in a file name "pylint_global.[txt|html]". -files-output=no +# files-output=no # Tells whether to display a full report or only the messages reports=no @@ -137,7 +139,7 @@ generated-members= [BASIC] # List of builtins function names that should not be used, separated by a comma -bad-functions=map,filter,apply,input +# bad-functions=map,filter,apply,input # Regular expression which should only match correct module names module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$