Files @ 3d704e2865fe
Branch filter:

Location: NPO-Accounting/conservancy_beancount/tox.ini

Brett Smith
reports: Balance is initialized with just amounts.

This works fine with how we're currently using it, makes transformation
methods easier to implement, and avoids potential bugs where a balance is
initialized with a bad mapping.
[tox]
envlist = py36,py37

[testenv]
# Beancount includes type declarations but not the `py.typed` flag file mypy
# is looking for to know that. Create it ourselves.
commands_pre = python -c 'import beancount, pathlib; pathlib.Path(beancount.__file__).with_name("py.typed").touch()'

commands =
  ./setup.py test
  ./setup.py typecheck