Closed 0x0013 closed 1 year ago
this has been addressed, now the latest beancount black can process number expression.
I added a test case for it
https://github.com/LaunchPlatform/beancount-black/blob/cd3793439f76e5f14c7f77c07f443fa2c80f6044/tests/fixtures/input/number_expr.bean https://github.com/LaunchPlatform/beancount-black/blob/cd3793439f76e5f14c7f77c07f443fa2c80f6044/tests/fixtures/expected_output/number_expr.bean
If you see any corner case we cannot processing it correctly, please let me know or feel free to open a PR
Program errors when a transaction contains an expression for the amount.
Example transaction:
Output:
Similar result when removing the parenthesis - then program does not recognize
/
symbol.