Replace Thread.isAlive() with Thread.is_alive()

Proprietary

Replace isAlive() method calls with is_alive(). Deprecated in Python 3.1 and removed in 3.9. Only fires where the receiver's type resolves to threading.Thread or a subclass.

org.openrewrite.python.migrate.ReplaceThreadIsAlive
mod run . --recipe=org.openrewrite.python.migrate.ReplaceThreadIsAlive

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