On 18/10/2020 16:18, Ondřej Švec wrote:
> I have the same problem. I am running Beancount on WSL. Everything
> installed using pip3 install.
> Beancount 2.3.2
> Python 3.8.2
> Pylint 2.6.0
>
> from beancount.core.data import Transaction
> Transaction() <- Transaction is not callable (py-lint(not-callable).
> Transaction: NamedTuple
>
> However, running bean-extract works like charm, so it's just annoying
> during development.
Please report the bug to the pylint developers. Evidently pylint does
not grok enough of Python to understand that Transaction is a class.
Cheers,
Dan