From a5b3c64a224281827ba8966016b18bead585a2eb Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Thu, 17 Feb 2022 20:03:01 +0300 Subject: [PATCH] pylint: Skip redundant-u-string-prefix Pylint 2.10 introduced new checker `redundant-u-string-prefix`: > Used when we detect a string with a u prefix. These prefixes were necessary in Python 2 to indicate a string was Unicode, but since Python 3.0 strings are Unicode by default. There are ~31K emitted warnings right now. They can be fixed on refactorings without any rush. Fixes: https://pagure.io/freeipa/issue/9117 Signed-off-by: Stanislav Levin Reviewed-By: Rob Crittenden --- pylintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/pylintrc b/pylintrc index 2a82bf879..10db0e7f2 100644 --- a/pylintrc +++ b/pylintrc @@ -108,6 +108,7 @@ disable= consider-using-with, # pylint 2.8.0, contextmanager is not mandatory consider-using-max-builtin, # pylint 2.8.0, can be more readable consider-using-min-builtin, # pylint 2.8.0, can be more readable + redundant-u-string-prefix, # pylint 2.10.0, too many unessential changes [REPORTS]