Xidorn Quan
Xidorn Quan
Could you elaborate what kind of truncation policy do you want?
It isn't clear to me what would be the best way to enable such adjustment. Any suggestion welcome.
Is there any update on this? It would be good if this plugin allows specifying the venv for beancount, especially given that since Ubuntu 23.04, user-level pip no longer works,...
For those who have the same problem, I temporarily solved this by adding ```python import sys sys.path.append('/lib/python3.11/site-packages') ``` to the beginning of the Python code in `beancount#load_everything` inside `autoload/beancount.vim`.
With the path manually added, no other extension is needed, and no venv needs to be activated.
I haven't heard about it... It seems to be a NeoVim thing but I'm using GVim, so I'm not sure about it. And I wouldn't want to switch the whole...
I do know autocmd, but how can I config the Python path in autocmd? And how can I scope it to just the code run by this plugin?
Oh, okay, thanks. Good to know. For record, I added the following to my `.vimrc`: ```vim autocmd BufRead,BufNewFile *.beancount python3 import sys; sys.path.append('/lib/python3.11/site-packages'); import beancount; sys.path.pop() ``` which seems to...
While I'm not sure how useful such an advisory would be, I'm not against issuing one. It is indeed unmaintained, but on the other hand, it is also very unlikely...
A workaround, for now, is to create a custom price source like ```python from beancount.prices.source import SourcePrice from beancount.prices.sources import yahoo def div_100(sp: SourcePrice) -> SourcePrice: return SourcePrice(sp.price / 100,...