unicode-kind-prefix (UP025)
Added in v0.0.201 · Related issues · View source
Derived from the pyupgrade linter.
Fix is always available.
What it does
Checks for uses of the Unicode kind prefix (u) in strings.
Why is this bad?
In Python 3, all strings are Unicode by default. The Unicode kind prefix is unnecessary and should be removed to avoid confusion.
Example
Use instead: