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]
|
||||
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=[
|
||||
'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={},
|
||||
|
|
Loading…
Reference in a new issue