Replace threading.currentThread() with threading.current_thread()

Proprietary

Replace threading.currentThread() with threading.current_thread(). The camelCase version was deprecated in Python 3.10.

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

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

Recipe list

It runs these recipes, in this order.

  1. Change import