Skip to content

Padding and balance lines are seperated with line breaks #19

Description

@haozi04

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!

Activity

  1. ahopkins commented on Oct 1, 2024

    @ahopkins

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions