Files @ 552ef45f47df
Branch filter:

Location: NPO-Accounting/conservancy_beancount/setup.cfg

Brett Smith
plugin: Be more selective about when ! skips validation.

It makes sense to let the bookkeeper skip validations in situations
where the metadata requires information that might not be available
when entered. It does not make sense to skip validations that *must*
be available and affect the structure of the books, like project and
entity.

This commit ensures every plugin hook has a test for flagged
transactions, even for hooks that currently have the desired
behavior where no code changes were required for the test to
pass.
[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