Skip to content

Commit

Permalink
pylint: Skip redundant-u-string-prefix
Browse files Browse the repository at this point in the history
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 ~40 emitted warnings right now. They can be fixed on
refactorings without any rush.

Fixes: freeipa/freeipa-healthcheck#244
Signed-off-by: Stanislav Levin <[email protected]>
  • Loading branch information
joeldavidparker committed Mar 24, 2022
1 parent 84e8be9 commit ec76c21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,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]

Expand Down

0 comments on commit ec76c21

Please sign in to comment.