There are 2 pass, we call the prettier plugin twice because there was an idempotent problem: I had to pretty the script at least twice to make it tidy and to make the script returning the same output. We could try to remove those 2 passes and see if it fixes the problem (ie. the xt/tt_tidy.t does not fail) for new changes.