Replace Event.isSet() with Event.is_set()

Proprietary

Replace isSet() method calls with is_set(). The camelCase version was deprecated in Python 3.10. Only fires where the receiver's type resolves to threading.Event or a subclass.

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

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