Use [] literal instead of list() constructor

Proprietary

Convert no-argument list() calls to the [] literal, which is more concise and avoids a function call. It only fires where list is the builtin.

org.openrewrite.python.cleanup.ListLiteral
mod run . --recipe=org.openrewrite.python.cleanup.ListLiteral

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.