2020-03-18 20:21:06 +00:00
|
|
|
Beancount plugin and tools for Conservancy's books
|
|
|
|
==================================================
|
|
|
|
|
2020-04-02 15:49:35 +00:00
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
``cd`` to this directory with your checkout and then run::
|
|
|
|
|
|
|
|
python3 -m pip install --user --upgrade .
|
|
|
|
|
|
|
|
Of course, if you're familiar with Python development tools, you're welcome to install the module in a virtualenv, somewhere else, etc.
|
|
|
|
|
2020-03-18 20:21:06 +00:00
|
|
|
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.
|