On Saturday, January 10, 2026 at 5:39:19 PM UTC-5 Edward K. Ream wrote: On Sat, Jan 10, 2026 at 8:16 AM Thomas Passin <[email protected]> wrote:
On Saturday, January 10, 2026 at 8:20:51 AM UTC-5 Edward K. Ream wrote: PR #4493 <https://github.com/leo-editor/leo-editor/pull/4493> uses ruff format when @bool beautify-python-code-on-write = 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. What the heck are those? Where do we find information about them? See this page <https://docs.astral.sh/ruff/formatter/#format-suppression>. You can search Leo's code for *fmt: on*, *fmt: off*, and *fmt: skip*. All three are useful in various situations. That's all very well but how would we apply fmt: on, etc, when we want to run ruff from within Leo? -- 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/47c1dd01-c762-478f-9413-ccf9976f4398n%40googlegroups.com.
