reimplemented-builtin (SIM110)
Added in v0.0.211 · Related issues · View source
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:
Fix safety
This fix is always marked as unsafe because it might remove comments.