setup: Introduce typecheck alias.
This commit is contained in:
parent
b2ef561c85
commit
1caeb9a1a6
2 changed files with 13 additions and 2 deletions
|
@ -1,2 +1,7 @@
|
||||||
[aliases]
|
[aliases]
|
||||||
test=pytest
|
test=pytest
|
||||||
|
typecheck=pytest --addopts="--mypy conservancy_beancount"
|
||||||
|
|
||||||
|
[mypy]
|
||||||
|
show_error_codes = True
|
||||||
|
warn_unused_configs = True
|
||||||
|
|
10
setup.py
10
setup.py
|
@ -13,8 +13,14 @@ setup(
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'beancount>=2.2',
|
'beancount>=2.2',
|
||||||
],
|
],
|
||||||
setup_requires=['pytest-runner'],
|
setup_requires=[
|
||||||
tests_require=['pytest'],
|
'pytest-mypy',
|
||||||
|
'pytest-runner',
|
||||||
|
],
|
||||||
|
tests_require=[
|
||||||
|
'mypy>=0.770',
|
||||||
|
'pytest',
|
||||||
|
],
|
||||||
|
|
||||||
packages=['conservancy_beancount'],
|
packages=['conservancy_beancount'],
|
||||||
entry_points={},
|
entry_points={},
|
||||||
|
|
Loading…
Reference in a new issue