Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Padding and balance lines are seperated with line breaks #19

Open
haozi04 opened this issue Jan 28, 2024 · 1 comment
Open

Padding and balance lines are seperated with line breaks #19

haozi04 opened this issue Jan 28, 2024 · 1 comment

Comments

@haozi04
Copy link

haozi04 commented Jan 28, 2024

I put the padding line and balance lines together in the original file:

2024-01-01 pad Assets:WeChat:Balances Equity:Open-Balances
2024-01-02 balance Assets:WeChat:Balances                       10.00 CNY

2024-01-01 pad Assets:Alipay:Balances Equity:Open-Balances
2024-01-02 balance Assets:Alipay:Balances                       20.00 CNY

After bean-black they became:

2024-01-01 pad Assets:WeChat:Balances Equity:Open-Balances

2024-01-01 pad Assets:Alipay:Balances Equity:Open-Balances

2024-01-02 balance Assets:WeChat:Balances                10.00 CNY

2024-01-02 balance Assets:Alipay:Balances                20.00 CNY

Is the extra line breaks essential by design? I read the Beancount documents and am not able to tell.

Thank you for the neat tool though!

@ahopkins
Copy link

ahopkins commented Oct 1, 2024

I feel like there are a lot of sections that have added line breaks that should not. Is there something like this:

# fmt: off
def foo(): ... # Ignore black
# fmt: on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants