Derived from the flake8-pie linter.
Fix is sometimes available.
What it does#
Checks for lambdas that can be replaced with the
In preview, this rule will also flag lambdas that can be replaced with
Why is this bad?#
Using container builtins are more succinct and idiomatic than wrapping the literal in a lambda.