Leo issue #2983 <https://github.com/leo-editor/leo-editor/issues/2983> suggests supporting so-called *blackened sentinels*, sentinel lines that start with "# @" instead of the usual "#@". Such lines can arise (in external files created by @file) after the user reformats the file with Black <https://black.readthedocs.io/en/stable/>.
PR #2985 <https://github.com/leo-editor/leo-editor/pull/2985> contains the changes, which involve inherently dangerous changes to Leo's read code. #2983 <https://github.com/leo-editor/leo-editor/issues/2983> gives the rationale for accepting the risks involved, which I'll repeat here: Leo *cannot *prevent Leonistas from blackening external files *unintentionally*. Black's *existence* imposes a burden on Leo. Leo *should not* prevent Leonistas from blackening external files *intentionally*. --black-sentinels avoids huge diffs in projects mandating Black. Any change to Leo's read/write code is inherently dangerous, but doing nothing may be more dangerous in the long run. -- 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/7ca6096f-e215-4dcd-a033-75b33036ab7cn%40googlegroups.com.