conservancy_beancount/tox.ini
Brett Smith bff3eec952 tox: Start configuration to test on Py3.6 and Py3.7.
This caught several of the recent issues.
2020-04-06 15:25:14 -04:00

11 lines
336 B
INI

[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