Groups
Groups
Sign in
Groups
Groups
Beancount
Conversations
About
Send feedback
Help
A pre-commit hook for formatting beancount files
195 views
Skip to first unread message
Haotian Wu
unread,
Apr 28, 2021, 4:24:45 AM
4/28/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Beancount
Hi all,
I'm using git to manage my beancount ledgers and I love auto formatting. So I made a
pre-commit
hook for formatting beancount files:
https://github.com/whtsky/pre-commit-beancount-format
.
I hope that's helpful to you.
redst...@gmail.com
unread,
May 1, 2021, 3:23:16 PM
5/1/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Beancount
Great, thank you for sharing this!
For others: bean-format
only modifies whitespace
:
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.
Reply all
Reply to author
Forward
0 new messages