From c2210e7120784c722d8033d7da3e8496984d41fb Mon Sep 17 00:00:00 2001 From: Don Penney Date: Wed, 4 Nov 2020 12:11:41 -0500 Subject: [PATCH] Ignore pylint W0707 warnings in cgcs-patch pylint-2.6.0 introduced a new W0707 warning related to a new capability in python3. Given cgcs-patch is still running py2, this new warning is being ignored. When we move to python3, we will review the pylint warnings at that time. Change-Id: If59dcc62ce68d7bb7b119018502ba6d318e7746a Closes-Bug: 1902916 Signed-off-by: Don Penney --- cgcs-patch/cgcs-patch/pylint.rc | 3 ++- cgcs-patch/cgcs-patch/pylint_make_patch.rc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cgcs-patch/cgcs-patch/pylint.rc b/cgcs-patch/cgcs-patch/pylint.rc index f5117184..d8aa305c 100644 --- a/cgcs-patch/cgcs-patch/pylint.rc +++ b/cgcs-patch/cgcs-patch/pylint.rc @@ -48,8 +48,9 @@ symbols=no # W0511 fixme # W0603 global-statement # W0703 broad-except +# W0707 raise-missing-from # W1505, deprecated-method -disable=C, R, W0107, W0511, W0603, W0703, W1505 +disable=C, R, W0107, W0511, W0603, W0703, W0707, W1505 [REPORTS] diff --git a/cgcs-patch/cgcs-patch/pylint_make_patch.rc b/cgcs-patch/cgcs-patch/pylint_make_patch.rc index ef4e8381..4eec62b5 100644 --- a/cgcs-patch/cgcs-patch/pylint_make_patch.rc +++ b/cgcs-patch/cgcs-patch/pylint_make_patch.rc @@ -57,10 +57,11 @@ symbols=no # W0613 unused-argument # W0622 redefined-builtin # W0703 broad-except +# W0707 raise-missing-from # W1401 anomalous-backslash-in-string # W1505, deprecated-method disable=C, R, fixme, E1101, - W0101, W0104, W0107, W0212, W0231, W0603, W0612, W0613, W0622, W0703, + W0101, W0104, W0107, W0212, W0231, W0603, W0612, W0613, W0622, W0703, W0707, W1401, W1505 [REPORTS]