mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 23:23:30 -06:00
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 <slev@altlinux.org> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
7d25eead99
commit
a5b3c64a22
1
pylintrc
1
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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user