mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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 <slev@altlinux.org> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
committed by
Rob Crittenden
parent
a5b3c64a22
commit
14e940990d
1
pylintrc
1
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]
|
||||
|
||||
|
Reference in New Issue
Block a user