Changeset - 1caeb9a1a63d
[Not reviewed]
0 2 0
Brett Smith - 4 years ago 2020-03-18 12:20:45
brettcsmith@brettcsmith.org
setup: Introduce typecheck alias.
2 files changed with 13 insertions and 2 deletions:
0 comments (0 inline, 0 general)
setup.cfg
Show inline comments
 
[aliases]
 
test=pytest
 
typecheck=pytest --addopts="--mypy conservancy_beancount"
 

	
 
[mypy]
 
show_error_codes = True
 
warn_unused_configs = True
setup.py
Show inline comments
...
 
@@ -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={},
0 comments (0 inline, 0 general)