setup: Introduce typecheck alias.

This commit is contained in:
Brett Smith 2020-03-18 08:14:36 -04:00
parent b2ef561c85
commit 1caeb9a1a6
2 changed files with 13 additions and 2 deletions

View file

@ -1,2 +1,7 @@
[aliases]
test=pytest
typecheck=pytest --addopts="--mypy conservancy_beancount"
[mypy]
show_error_codes = True
warn_unused_configs = True

View file

@ -13,8 +13,14 @@ setup(
install_requires=[
'beancount>=2.2',
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
setup_requires=[
'pytest-mypy',
'pytest-runner',
],
tests_require=[
'mypy>=0.770',
'pytest',
],
packages=['conservancy_beancount'],
entry_points={},