Plugin, library, and reports for reading Conservancy's books
Find a file
Brett Smith 8a2721ec0f tests: Prepare test_meta_receipt to test more credits and fallbacks.
I'm getting to ready to extend this hook to deal with income receipts as
well as expense receipts. These changes let me write the tests in a more
declarative style, so I don't have to duplicate them all again to test
credits as well as debits.

Note that we're only testing debits right now, just like the existing tests,
because the default check_type for check() is PostType.DEBIT. Part of making
the changes will be changing that to PostType.BOTH.
2020-03-30 14:49:46 -04:00
conservancy_beancount typing: Refine any generics when possible. 2020-03-29 23:28:03 -04:00
tests tests: Prepare test_meta_receipt to test more credits and fallbacks. 2020-03-30 14:49:46 -04:00
.gitignore gitignore: Add .mypy_cache. 2020-03-15 10:25:10 -04:00
LICENSE.txt Initial commit: license, setup.py, gitignore, skeleton structure. 2020-03-05 09:33:23 -05:00
pytest.ini tests: Ignore the DeprecationWarning from the socks module. 2020-03-24 09:16:38 -04:00
README.rst README: Initial commit. 2020-03-18 16:21:06 -04:00
setup.cfg setup: Disallow untyped calls. 2020-03-29 23:22:35 -04:00
setup.py config: Add Config.rt_client method. 2020-03-24 09:08:08 -04:00

Beancount plugin and tools for Conservancy's books
==================================================

Running tests
-------------

Run::

  ./setup.py test

Type checking
-------------

Most of the code is typed, except for very dynamic loader methods. To run the type checker::

  ./setup.py typecheck

This is expected to pass just like the unit tests.

Legal
-----

Copyright © 2020  Brett Smith. Licensed under the `GNU Affero General Public License <https://www.gnu.org/licenses/agpl-3.0.html>`_, either version 3 of the License, or (at your option) any later version.