reimplemented-builtin (SIM110)
Derived from the flake8-simplify linter.
Fix is sometimes available.
What it does
Checks for for
loops that can be replaced with a builtin function, like
any
or all
.
Why is this bad?
Using a builtin function is more concise and readable.
Example
Use instead: