Files @ aa488effb0f5
Branch filter:

Location: NPO-Accounting/conservancy_beancount/setup.cfg

Brett Smith
books.Loader: New loading strategy based on load_file. RT#11034.

Building a string and loading it means Beancount can never cache any
load. It only caches top-level file loads because options in the
top-level file can change the semantics of included entries.

Instead use load_file as much as possible, and filter entries as
needed.
[aliases]
test=pytest
typecheck=pytest --addopts="--mypy conservancy_beancount"

[mypy]
disallow_any_unimported = True
disallow_untyped_calls = False
disallow_untyped_defs = True
show_error_codes = True
strict_equality = True
warn_redundant_casts = True
warn_return_any = True
warn_unreachable = True
warn_unused_configs = True