Delete no-op assert True statements

Proprietary

Delete bare assert True statements, which are always satisfied and have no effect. Assertions that carry a message string or a comment are preserved, as is the last statement of a block.

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

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