Drop unnecessary step 1 argument from range()

Proprietary

Shorten range(a, b, 1) to range(a, b) because range already defaults to a step of one. A call with an unpacked * argument is left alone.

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

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