mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -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:
1 parent
7f8b4f0368
commit
b5fc2eeff9
1 file changed
+1
@@ -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