PR #4493 <https://github.com/leo-editor/leo-editor/pull/4493> uses ruff 
format when  @bool beautify-python-code-on-write = True

I merged it immediately because the PR removes a "race" condition when 
beautifying python code automatically. Previously, ruff format and Leo's 
legacy formatter would be in conflict. Now, once again, it's safe to set @bool 
beautify-python-code-on-write to True.

There will be one more PR related to ruff format. This PR will acknowledge 
what's already so, namely that @beautify and @nobeautify no longer have any 
effect. Leo's users should use the fmt: pragmas instead.

This PR will move Leo's legacy beautifier to the attic. I'll wait longer 
for review comments for this last PR.

All your comments are welcome. Please report any problems immediately.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/5546c6e7-5721-428a-8009-4e885e0221b6n%40googlegroups.com.

Reply via email to