Great, thank you for sharing this! For others: bean-format only modifies whitespace <https://beancount.github.io/docs/running_beancount_and_generating_reports.html#bean-format> : This pure text processing tool will reformat Beancount input to right-align all the numbers at the same, minimal column. It left-aligns all the currencies. It only modifies whitespace.
On Wednesday, April 28, 2021 at 1:24:45 AM UTC-7 wht...@gmail.com wrote: > > Hi all, > > I'm using git to manage my beancount ledgers and I love auto formatting. > So I made a pre-commit <https://pre-commit.com/> hook for formatting > beancount files: https://github.com/whtsky/pre-commit-beancount-format . > > I hope that's helpful to you. > -- 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 beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/336a9cfa-3c95-48bd-8b17-1959cb8628bcn%40googlegroups.com.