duplicate-literal-member (PYI062)#
Derived from the flake8-pyi linter.
Fix is sometimes available.
What it does#
Checks for duplicate members in a typing.Literal[] slice.
Why is this bad?#
Duplicate literal members are redundant and should be removed.
Example#
Use instead: