add mypy to deps

pull/894/head
Nikhil Parasaram 6 years ago
parent aa368ade85
commit dd661e9d92
  1. 2
      setup.py
  2. 3
      tox.ini

@ -111,7 +111,7 @@ setup(
'mypy', 'mypy',
'pytest>=3.6.0', 'pytest>=3.6.0',
'pytest_mock', 'pytest_mock',
'pytest-cov' 'pytest-cov',
], ],
python_requires='>=3.5', python_requires='>=3.5',

@ -18,11 +18,13 @@ basepython = python3.6
setenv = setenv =
COVERAGE_FILE = .coverage.{envname} COVERAGE_FILE = .coverage.{envname}
deps = deps =
mypy
pytest pytest
pytest-mock pytest-mock
pytest-cov pytest-cov
whitelist_externals = mkdir whitelist_externals = mkdir
commands = commands =
mypy --follow-imports=silent --warn-unused-ignores .
mkdir -p {toxinidir}/tests/testdata/outputs_current/ mkdir -p {toxinidir}/tests/testdata/outputs_current/
mkdir -p {toxinidir}/tests/testdata/outputs_current_laser_result/ mkdir -p {toxinidir}/tests/testdata/outputs_current_laser_result/
py.test -v \ py.test -v \
@ -33,7 +35,6 @@ commands =
--junitxml={toxworkdir}/output/{envname}/junit.xml \ --junitxml={toxworkdir}/output/{envname}/junit.xml \
{posargs} {posargs}
mypy --follow-imports=silent --warn-unused-ignores .
[coverage:report] [coverage:report]

Loading…
Cancel
Save