That was quick, and looks great, thank you :). Will send PRs for these types of things henceforth.
On Friday, June 30, 2023 at 2:26:12 PM UTC-7 [email protected] wrote: > are you open to accepting minor fixes to the documentation? Eg: _print_model(file) wasn’t defined in the examples page Fixed in 3b31cf47 <https://github.com/SEIAROTg/autobean-refactor/commit/3b31cf47a2cfb469b17a35992bd3803de1ea0093>. Issues and PRs are also very welcomed! > an idea to consider: turning class _FilesFormatter into an iterator and/or a context manager and including it in the base project (autobean_refactor) might allow people to avoid having to write boilerplate code, and simply write a couple lines of python code to accomplish what they want quickly That's a very good idea. Added in c308958b <https://github.com/SEIAROTg/autobean-refactor/commit/c308958b574f85ffd066960ac2dac6ecd472b00f> and documented here <https://autobean-refactor.readthedocs.io/en/latest/getting-started.html#in-place-editing>. There was actually an undocumented parse_file_recursive <https://github.com/SEIAROTg/autobean-refactor/blob/3b31cf47a2cfb469b17a35992bd3803de1ea0093/autobean_refactor/parser.py#L140> created for autobean-format but ended up not being used as the latter needs the original text to support the diff function. -- You received this message because you are subscribed to the Google Groups "Beancount" 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/beancount/6b1a2438-39d4-46e9-8959-e17211baf64fn%40googlegroups.com.
