Use {} literal instead of dict() constructor
ProprietaryConvert no-argument dict() calls to the {} literal, which is more concise and avoids a function call. It only fires where dict is the builtin, and leaves alone a dict() that is the whole expression of an f-string replacement field.
org. openrewrite. python. cleanup. DictLiteralmod run . --recipe= org. openrewrite. python. cleanup. DictLiteralInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.