Files @ 3c77f8b3c725
Branch filter:

Location: NPO-Accounting/conservancy_beancount/tox.ini

Brett Smith
plugin: Revert default validation start date to FY2020.

While we ultimately want this change, it reveals a lot of errors
in the FY2019 books that we don't want to gum up the transition.
[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