Use [] literal instead of list() constructor
ProprietaryConvert 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. ListLiteralmod run . --recipe= org. openrewrite. python. cleanup. ListLiteralInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.