From b5fc2eeff9779cb868ff56edefd7e3355fcd5bca Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Thu, 17 Feb 2022 20:12:04 +0300 Subject: [PATCH] pylint: Skip consider-using-f-string Pylint 2.11 introduced new checker: > Used when we detect a string that is being formatted with format() or % which could potentially be a f-string. The use of f-strings is preferred. Requires Python 3.6 and ``py-version >= 3.6``. - f-strings are not mandatory - format can be more readable - there are ~5.5K spotted issues 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 10db0e7f2..8125aaf62 100644 --- a/pylintrc +++ b/pylintrc @@ -109,6 +109,7 @@ disable= 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 + consider-using-f-string, # pylint 2.11.0, format can be more readable [REPORTS]