The fstrings branch contains Leo's new fstringify and beautify commands.

Rev 4c06999 is a major milestone. It marks the end of another phase of 
testing. This work includes fixing a significant bug in fstringify.

All of Leo's core files have been fstringified and beautified without 
incident. The changes are *stable*. That is, redoing the fstringify-files 
and beautify-files commands produces no new changes.

Yesterday's work revealed some problems:

- [Easy] fstringify-files will sometimes fail on strings when it might 
succeed with a bit more work.

- [A project] beautify-files doesn't always split strings as well as black 
does.

*Summary*

Imo, it's important to make Leo's fstringify and beautify commands work 
*better* than the external fstringify and black tools. Leo's fstringify 
command can easily be improved. I plan to study and possibly use the 
relevant code from black.

It would be spineless to avoid this work by saying "this work is merely a 
proof of concept for the TokenOrderGenerator class." Improving the code 
will benefit all of Leo's users.

As a result, Leo 6.2 b1 may be delayed. So be it.

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 on the web visit 
https://groups.google.com/d/msgid/leo-editor/5dfcb4f7-4048-4d79-9939-068d984e53a9%40googlegroups.com.

Reply via email to