PR
#4500 completes all items on my agenda. It fixes a significant performance bug when using ruff format.
I have merged six PRs over the last two days. I didn't wait for reviews because each fixed a significant issue, and I thought it was best to begin testing immediately.
I am happy with the results. Please let me know if you aren't :-)
Summary of the six PRs
Leonistas who aren't programmers are unlikely to notice any difference at all.
The PRs make it possible to beautify Leo's own source code with black or ruff format. Imo, that new possibility makes all the work worthwhile.
In addition, the PRs retire Leo's legacy Python beautifier. That too was worth doing because ruff format is way better. Retiring the old formatter also reduces the maintenance burden on Leo's present and future devs.
Edward