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:
Stanislav Levin
2022-02-17 20:12:04 +03:00
committed by Rob Crittenden
parent a5b3c64a22
commit 14e940990d

View File

@@ -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]